perf cgroup: Remove misplaced __maybe_unused
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: a6adc9bdf59c77ea4efb844c27f25361f0399586 Gitweb: https://git.kernel.org/tip/a6adc9bdf59c77ea4efb844c27f25361f0399586 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 6 Mar 2018 09:31:53 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 7 Mar 2018 10:22:25 -0300
perf cgroup: Remove misplaced __maybe_unused
The 'opt' parameter in parse_cgroups() _is_ used. The original patch used '__used' that was even more confusing :-)
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Wang Nan <[email protected]>
Fixes 023695d96ee0 ("perf tool: Add cgroup support")
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cgroup.c +1 -1
@@ -153,7 +153,7 @@ void close_cgroup(struct cgroup_sel *cgrp) } } -int parse_cgroups (const struct option *opt__maybe_unused ,const char *str, +int parse_cgroups (const struct option *opt,const char *str,int unset__maybe_unused ) {struct perf_evlist *evlist = *(struct perf_evlist **)opt->value;