[PATCH][MIPS] remove unneeded sni_machine_halt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unneeded sni_machine_halt

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/sni/reset.c mips/arch/mips/sni/reset.c
--- mips-orig/arch/mips/sni/reset.c	2007-08-04 16:17:56.532228000 +0900
+++ mips/arch/mips/sni/reset.c	2007-08-04 16:23:31.429157750 +0900
@@ -40,10 +40,6 @@ void sni_machine_restart(char *command)
 	}
 }
 
-void sni_machine_halt(void)
-{
-}
-
 void sni_machine_power_off(void)
 {
 	*(volatile unsigned char *)PCIMT_CSWCSM = 0xfd;
diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/sni/setup.c mips/arch/mips/sni/setup.c
--- mips-orig/arch/mips/sni/setup.c	2007-08-04 16:17:56.532228000 +0900
+++ mips/arch/mips/sni/setup.c	2007-08-04 16:23:41.309775250 +0900
@@ -26,7 +26,6 @@
 unsigned int sni_brd_type;
 
 extern void sni_machine_restart(char *command);
-extern void sni_machine_halt(void);
 extern void sni_machine_power_off(void);
 
 static void __init sni_display_setup(void)
@@ -87,7 +86,6 @@ void __init plat_mem_setup(void)
 	}
 
 	_machine_restart = sni_machine_restart;
-	_machine_halt = sni_machine_halt;
 	pm_power_off = sni_machine_power_off;
 
 	sni_display_setup();


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux