diff options
| author | Michel Lespinasse <[email protected]> | 2012-10-08 16:31:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-10-09 16:22:36 +0900 |
| commit | 60670b8034d6e2ba860af79c9379b7788d09db73 (patch) | |
| tree | 5fed30a98d29a03c078f756275ba34c830fee36c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7abc704ae399fcb9c51ca200b0456f8a975a8011 (diff) | |
rbtree: place easiest case first in rb_erase()
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 <[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]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions