perf bpf: Remove misplaced __maybe_unused attribute
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: fcbc3ca3bb41d91b8f311defd7252007a99ebf78 Gitweb: https://git.kernel.org/tip/fcbc3ca3bb41d91b8f311defd7252007a99ebf78 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 22 Jan 2018 10:42:55 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 23 Jan 2018 09:51:50 -0300
perf bpf: Remove misplaced __maybe_unused attribute
The bpf__setup_stdout() function uses that evlist argument, remove the misleading __maybe_unused attribute.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/bpf-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/bpf-loader.c +1 -1
@@ -1533,7 +1533,7 @@ int bpf__apply_obj_config(void) (strcmp("__bpf_stdout__", \ bpf_map__name(pos)) == 0)) -int bpf__setup_stdout (struct perf_evlist *evlist__maybe_unused ) +int bpf__setup_stdout (struct perf_evlist *evlist) {struct bpf_map_priv *tmpl_priv =NULL ;struct bpf_object *obj, *tmp;