summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-08-17 15:40:49 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-18 10:03:14 +0300
commitca13c130a43fe3ab625d22ada0a61e5c0b612229 (patch)
treec0f8ba1c19b3ee9f694085132224cee063a8d728 /arch/arm64
parent7cb0094be4a5dfb3c91d285977f489d334455e19 (diff)
downloadlinux-ca13c130a43fe3ab625d22ada0a61e5c0b612229.tar.xz
powerpc/4xx: Remove WatchdogHandler() to fix no previous prototype error
Building ppc40x_defconfig throws the following error: CC arch/powerpc/kernel/traps.o arch/powerpc/kernel/traps.c:2232:29: warning: no previous prototype for 'WatchdogHandler' [-Wmissing-prototypes] 2232 | void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs) | ^~~~~~~~~~~~~~~ This function was imported by commit 14cf11af6cf6 ("powerpc: Merge enough to start building in arch/powerpc.") as a weak function but never defined and/or called outside traps.c As it has only one caller fold it inside its caller and remove it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/38fe1078eb403eef74dc8f29387636fd7ecdf43c.1692276041.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions