diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-16 12:18:27 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-19 15:27:06 -0300 |
commit | 0353631aa73e5e468fae1cd699bf860b59ba100d (patch) | |
tree | 8d09691b34da6d496c7a648aec19e5b1a4a6caca /tools/perf/pmu-events | |
parent | 3ee350fb8a2b30fe47dd9e3b299dff0178fc8c88 (diff) | |
download | op-kernel-dev-0353631aa73e5e468fae1cd699bf860b59ba100d.zip op-kernel-dev-0353631aa73e5e468fae1cd699bf860b59ba100d.tar.gz |
perf tools: Use __maybe_unused consistently
Instead of defining __unused or redefining __maybe_unused.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-4eleto5pih31jw1q4dypm9pf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events')
-rw-r--r-- | tools/perf/pmu-events/jevents.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c index baa073f..bd0aabb 100644 --- a/tools/perf/pmu-events/jevents.c +++ b/tools/perf/pmu-events/jevents.c @@ -48,10 +48,6 @@ #include "json.h" #include "jevents.h" -#ifndef __maybe_unused -#define __maybe_unused __attribute__((unused)) -#endif - int verbose; char *prog; |