perf tui: Remove unneeded call to newtCls on startup
Arnaldo Carvalho de Melo [Tue, 18 Oct 2011 17:36:53 +0000 (15:36 -0200)]
That was just filling the screen with blue, even if not a crash, not
something pleasant nor useful ;-)

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-58znjqvan9b1mv5pojxboidg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

tools/perf/util/ui/setup.c

index 8b8a57b..5111f1a 100644 (file)
@@ -44,7 +44,6 @@ void setup_browser(bool fallback_to_pager)
 
        use_browser = 1;
        newtInit();
-       newtCls();
        newtSetSuspendCallback(newt_suspend, NULL);
        ui_helpline__init();
        ui_browser__init();