Skip to contentSkip to conversation

perf tests: Remove misplaced __maybe_unused

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Oct 30, 2014 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  f498784c39c7c840347e28b830aedc31ce699816
Gitweb:     http://git.kernel.org/tip/f498784c39c7c840347e28b830aedc31ce699816
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 23 Oct 2014 17:20:38 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 29 Oct 2014 10:32:46 -0200

perf tests: Remove misplaced __maybe_unused

The 'machine' parameter is used in this function, ditch the __maybe_unused annotation, not needed.

Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/tests/hists_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/hists_filter.c +1 -1
index 5a31787..74f257a 100644
@@ -43,7 +43,7 @@ static struct sample fake_samples[] = {
 };
 
 static int add_hist_entries(struct perf_evlist *evlist,
-			    struct machine *machine __maybe_unused)
+			    struct machine *machine)
 {
 	struct perf_evsel *evsel;
 	struct addr_location al;