diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-25 16:05:36 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-25 16:05:36 -0300 |
commit | 293db47f4753f5746e5aaa998ceb24dff662cf7e (patch) | |
tree | 6a16cc0521a1e2a142b589865a27b3a886f14421 /fs/stat.c | |
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>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions