linux-mips
[Top] [All Lists]

[PATCH][MIPS] remove unneeded sni_machine_halt

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] remove unneeded sni_machine_halt
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Sat, 4 Aug 2007 23:24:51 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Remove unneeded sni_machine_halt

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

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();

<Prev in Thread] Current Thread [Next in Thread>