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:
parent
3074b5808e
commit
0c934e22d1
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue