Skip to contentSkip to conversation

perf ui browser: Remove misplaced __maybe_unused

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

lore
Share & tools
lore
#0 lore raw
Commit-ID:  3184c47cb8b04b8bb5c1005168049519b066bcd1
Gitweb:     http://git.kernel.org/tip/3184c47cb8b04b8bb5c1005168049519b066bcd1
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Thu, 19 Dec 2013 16:25:17 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 19 Dec 2013 16:25:17 -0300

perf ui browser: Remove misplaced __maybe_unused

The 'browser' arg _is_ used, so ditch the misplaced attribute.

Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[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/ui/browser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/ui/browser.c +1 -1
index cbaa7af..94223d40 100644
@@ -268,7 +268,7 @@ int ui_browser__show(struct ui_browser *browser, const char *title,
 	return err ? 0 : -1;
 }
 
-void ui_browser__hide(struct ui_browser *browser __maybe_unused)
+void ui_browser__hide(struct ui_browser *browser)
 {
 	pthread_mutex_lock(&ui__lock);
 	ui_helpline__pop();