powerpc/embedded6xx: Remove unused functions holly_power_off and holly_halt
authorMathieu Malaterre <malat@debian.org>
Tue, 26 Mar 2019 20:47:19 +0000 (21:47 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:12 +0000 (22:02 +1000)
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>
arch/powerpc/platforms/embedded6xx/holly.c

index 9d2eefef7b7b697c5471c021fca570dffc1150a7..829bf3697dc96c2ddab13e6c8ea517851be094a1 100644 (file)
@@ -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
  */