Skip to content

Commit

Permalink
[MIPS] SNI: Remove unneeded sni_machine_halt
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Aug 27, 2007
1 parent 5d3fdea commit dee3c75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions arch/mips/sni/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/sni/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit dee3c75

Please sign in to comment.