diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-03 21:34:42 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-13 14:06:22 +0100 |
commit | 41cde47675de62ee0f3877c00ab44373b2b2f4ca (patch) | |
tree | 0b2a9eb878d27a0a336befb0aa8acfc6bd8e068b /tools/perf | |
parent | perf tests: Fixup leak on error path in parse events test (diff) | |
download | linux-41cde47675de62ee0f3877c00ab44373b2b2f4ca.tar.xz linux-41cde47675de62ee0f3877c00ab44373b2b2f4ca.zip |
perf stat: Remove misplaced __maybe_unused
That 'argc' argument _is_ being used.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
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-t2gsxc15zulkorieg8zq996o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 6ca076660de5..b27b2645eb3c 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -645,7 +645,7 @@ static int __run_perf_stat(int argc, const char **argv) return WEXITSTATUS(status); } -static int run_perf_stat(int argc __maybe_unused, const char **argv) +static int run_perf_stat(int argc, const char **argv) { int ret; |