diff options
author | Michel Lespinasse <walken@google.com> | 2012-10-08 16:31:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 16:22:36 +0900 |
commit | 7abc704ae399fcb9c51ca200b0456f8a975a8011 (patch) | |
tree | 3180bbf50ef3d25f0647362ecc7e7925f884d738 /lib/raid6 | |
parent | 28d7530928d01638678f63c3c70113540b0e6abe (diff) | |
download | linux-7abc704ae399fcb9c51ca200b0456f8a975a8011.tar.gz linux-7abc704ae399fcb9c51ca200b0456f8a975a8011.tar.bz2 linux-7abc704ae399fcb9c51ca200b0456f8a975a8011.zip |
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 <walken@google.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions