lib: rb: Remove unneeded statement

Remove unneeded statement since it is done in the beginning of the
loop.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2022-06-03 14:32:30 +03:00 committed by Carles Cufí
parent 3074b5808e
commit 0c934e22d1

View file

@ -199,7 +199,6 @@ static void fix_extra_red(struct rbnode **stack, int stacksz)
if (parent_side != side) {
rotate(stack, stacksz);
node = stack[stacksz - 1];
}
/* Rotate the grandparent with parent, swapping colors */