From: Arnaldo Carvalho de Melo Date: Wed, 27 Nov 2013 19:32:56 +0000 (-0300) Subject: perf timechart: Remove misplaced __maybe_unused X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=972ec653c489fd08ac2904caa98a6fa3f44dc303;p=linux-beck.git perf timechart: Remove misplaced __maybe_unused The 'event' parameter _is_ used. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stanislav Fomichev Cc: Stephane Eranian echo Link: http://lkml.kernel.org/n/tip-`ranpwd -l 24`@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c index c246f0290623..680632d7e26a 100644 --- a/tools/perf/builtin-timechart.c +++ b/tools/perf/builtin-timechart.c @@ -511,7 +511,7 @@ typedef int (*tracepoint_handler)(struct perf_evsel *evsel, const char *backtrace); static int process_sample_event(struct perf_tool *tool __maybe_unused, - union perf_event *event __maybe_unused, + union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine __maybe_unused)