commit | 293db47f4753f5746e5aaa998ceb24dff662cf7e | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Aug 25 16:05:36 2010 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Aug 25 16:05:36 2010 -0300 |
tree | 6a16cc0521a1e2a142b589865a27b3a886f14421 | |
parent | 18b308d7994e0e2a360b979f159fa7d2b91a26b1 [diff] |
perf hists browser: replace rb_first() != NULL by !RB_EMPTY_ROOT() 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>