summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/embedded6xx
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2019-03-26 21:47:19 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-04-20 22:02:12 +1000
commit62611c1e241878c538211d80cefef9de72030b56 (patch)
treec00729fccab0574d1dfa81eb5dcb824c70a76182 /arch/powerpc/platforms/embedded6xx
parent308be6c7817c850b55c3b6ff4bf53c2427e274bc (diff)
downloadlinux-62611c1e241878c538211d80cefef9de72030b56.tar.gz
linux-62611c1e241878c538211d80cefef9de72030b56.tar.bz2
linux-62611c1e241878c538211d80cefef9de72030b56.zip
powerpc/embedded6xx: Remove unused functions holly_power_off and holly_halt
Silence the following warnings triggered using W=1: arch/powerpc/platforms/embedded6xx/holly.c:236:6: error: no previous prototype for 'holly_power_off' arch/powerpc/platforms/embedded6xx/holly.c:243:6: error: no previous prototype for 'holly_halt' Signed-off-by: Mathieu Malaterre <malat@debian.org> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx')
-rw-r--r--arch/powerpc/platforms/embedded6xx/holly.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/holly.c b/arch/powerpc/platforms/embedded6xx/holly.c
index 9d2eefef7b7b..829bf3697dc9 100644
--- a/arch/powerpc/platforms/embedded6xx/holly.c
+++ b/arch/powerpc/platforms/embedded6xx/holly.c
@@ -234,18 +234,6 @@ static void __noreturn holly_restart(char *cmd)
for (;;) ;
}
-void holly_power_off(void)
-{
- local_irq_disable();
- /* No way to shut power off with software */
- for (;;) ;
-}
-
-void holly_halt(void)
-{
- holly_power_off();
-}
-
/*
* Called very early, device-tree isn't unflattened
*/