aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-01-14 16:57:33 +0100
committerArnd Bergmann <[email protected]>2017-07-27 22:57:48 +0200
commit293ea3d0ab9970c7f3d8163793d3407e5a86497a (patch)
treea60f0310cc259ba14a10e8dbf516f9b1cd0bf294 /tools/perf/scripts/python/call-graph-from-sql.py
parentd1c888878cb19229653aecfbbfd928300ba2805b (diff)
ARM: omap2: mark unused functions as __maybe_unused
The omap_generic_init() and omap_hwmod_init_postsetup() functions are used in the initialization for all OMAP2+ SoC types, but in the extreme case that those are all disabled, we get a warning about unused code: arch/arm/mach-omap2/io.c:412:123: error: 'omap_hwmod_init_postsetup' defined but not used [-Werror=unused-function] arch/arm/mach-omap2/board-generic.c:30:123: error: 'omap_generic_init' defined but not used [-Werror=unused-function] This annotates both as __maybe_unused to shut up that warning. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Tony Lindgren <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions