mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
[MIPS] SNI: Remove unneeded sni_machine_halt
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
5d3fdeacee
commit
dee3c75058
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user