summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powermac
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-04-04 23:09:11 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 05:04:40 +0300
commitf0e0b86638e9df6731b1d61c71ae180224664107 (patch)
tree707ba7c6124a72bcd0c57f10f5df7bbc2bef478c /arch/powerpc/platforms/powermac
parenteed6964bce59294f293b1746a6e4a69fa709fa5b (diff)
downloadlinux-f0e0b86638e9df6731b1d61c71ae180224664107.tar.xz
powerpc/chrp/setup: Remove idu_size variable and make some functions static
Remove variable declaration idu_size and associated code since not used. These functions can all be static, make it so. Fix warnings treated as errors with W=1: arch/powerpc/platforms/chrp/setup.c:97:6: error: no previous prototype for ‘chrp_show_cpuinfo’ [-Werror=missing-prototypes] arch/powerpc/platforms/chrp/setup.c:302:13: error: no previous prototype for ‘chrp_setup_arch’ [-Werror=missing-prototypes] arch/powerpc/platforms/chrp/setup.c:385:16: error: variable ‘idu_size’ set but not used [-Werror=unused-but-set-variable] arch/powerpc/platforms/chrp/setup.c:526:13: error: no previous prototype for ‘chrp_init_IRQ’ [-Werror=missing-prototypes] arch/powerpc/platforms/chrp/setup.c:559:1: error: no previous prototype for ‘chrp_init2’ [-Werror=missing-prototypes] Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
0 files changed, 0 insertions, 0 deletions