aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-08-26 17:30:29 +0200
committerDavid S. Miller <[email protected]>2016-08-30 23:32:11 -0700
commit1ddcf41ff3ee790d19978f7bee1ab76a77a5eb7b (patch)
treee9e05ffd9d792b1ad55f59df49cec83472c0b8ed /tools/perf/scripts/python/event_analyzing_sample.py
parent7ba9d103466e6c8568fae6db1e79bbfcc8f4a680 (diff)
ravb: avoid unused function warnings
When CONFIG_PM_SLEEP is disabled, we get a couple of harmless warnings: drivers/net/ethernet/renesas/ravb_main.c:2117:12: error: 'ravb_resume' defined but not used [-Werror=unused-function] drivers/net/ethernet/renesas/ravb_main.c:2104:12: error: 'ravb_suspend' defined but not used [-Werror=unused-function] The simplest solution here is to replace the #ifdef with __maybe_unused annotations, which lets the compiler do the right thing by itself. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: 0184165b2f42 ("ravb: add sleep PM suspend/resume support") Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions