]> Git Repo - linux.git/commit
rbtree: add __rb_change_child() helper function
authorMichel Lespinasse <[email protected]>
Mon, 8 Oct 2012 23:31:07 +0000 (16:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 Oct 2012 07:22:36 +0000 (16:22 +0900)
commit7abc704ae399fcb9c51ca200b0456f8a975a8011
tree3180bbf50ef3d25f0647362ecc7e7925f884d738
parent28d7530928d01638678f63c3c70113540b0e6abe
rbtree: add __rb_change_child() helper function

Add __rb_change_child() as an inline helper function to replace code that
would otherwise be duplicated 4 times in the source.

No changes to binary size or speed.

Signed-off-by: Michel Lespinasse <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/rbtree.c
This page took 0.048032 seconds and 4 git commands to generate.