From: Arnaldo Carvalho de Melo Date: Wed, 25 Aug 2010 19:05:36 +0000 (-0300) Subject: perf hists browser: replace rb_first() != NULL by !RB_EMPTY_ROOT() X-Git-Tag: v2.6.37-rc1~214^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293db47f4753f5746e5aaa998ceb24dff662cf7e;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Stephane Eranian LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed