perf session: Remove unneeded dump_printf calls
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Dec 2010 14:20:20 +0000 (12:20 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Dec 2010 14:20:20 +0000 (12:20 -0200)
commitddbc24b72c2c3f3f0182bbc2cb70b31c52a6f45b
treec97e592700287b4ec3e61015d05dc5fd3b9cce8e
parentba74f0640d963ccc914ac533cb0ba133ee07bcf2
perf session: Remove unneeded dump_printf calls

Since we check at the beginning of the callers, no need to ask if
dump_trace is set multiple times.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ian Munsie <imunsie@au1.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c