git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b308d
)
perf hists browser: replace rb_first() != NULL by !RB_EMPTY_ROOT()
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 25 Aug 2010 19:05:36 +0000
(16:05 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 25 Aug 2010 19:05:36 +0000
(16:05 -0300)
Its way too stupid to use rb_first() for just caching if there are
children, use the cheaper RB_EMPTY_ROOT() instead.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
No differences found