aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-04-16 22:13:56 +0200
committerBorislav Petkov <[email protected]>2016-04-23 12:00:12 +0200
commit1aa6eb5c5b35771cfb28265eccd99b4b203b4154 (patch)
tree1b1c125e6fb279df2e5de766a4efb6d7f37ba8d0 /tools/perf/scripts/python/export-to-postgresql.py
parent2c911f6cac9388830d2afb350d29f43f115b1a28 (diff)
EDAC, altera: Avoid unused function warnings
The recently added Arria10 OCRAM ECC support caused some new harmless warnings about unused functions when it is disabled: drivers/edac/altera_edac.c:1067:20: error: 'altr_edac_a10_ecc_irq' defined but not used [-Werror=unused-function] drivers/edac/altera_edac.c:658:12: error: 'altr_check_ecc_deps' defined but not used [-Werror=unused-function] This rearranges the code slightly to have those two functions inside of the same #ifdef that hides their callers. It also manages to avoid a forward declaration of the IRQ handler in the process. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Thor Thayer <[email protected]> Cc: Alan Tull <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: linux-edac <[email protected]> Fixes: c7b4be8db8bc ("EDAC, altera: Add Arria10 OCRAM ECC support") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions