Re: [PATCH v2 4/9] rbtree: place easiest case first in rb_erase()

From: Rik van Riel
Date: Sun Aug 05 2012 - 21:13:35 EST


On 08/02/2012 06:34 PM, Michel Lespinasse wrote:
In rb_erase, move the easy case (node to erase has no more than
1 child) first. I feel the code reads easier that way.

Signed-off-by: Michel Lespinasse<walken@xxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>


--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/