Commit 101788b0 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Kill 'prom_keyboard'.

Nothing ever sets it, so it just takes up space.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1d5509aa
...@@ -114,15 +114,12 @@ void cpu_idle(void) ...@@ -114,15 +114,12 @@ void cpu_idle(void)
extern char reboot_command []; extern char reboot_command [];
extern void (*prom_palette)(int); extern void (*prom_palette)(int);
extern void (*prom_keyboard)(void);
void machine_halt(void) void machine_halt(void)
{ {
sstate_halt(); sstate_halt();
if (prom_palette) if (prom_palette)
prom_palette (1); prom_palette (1);
if (prom_keyboard)
prom_keyboard();
prom_halt(); prom_halt();
panic("Halt failed!"); panic("Halt failed!");
} }
...@@ -132,8 +129,6 @@ void machine_alt_power_off(void) ...@@ -132,8 +129,6 @@ void machine_alt_power_off(void)
sstate_poweroff(); sstate_poweroff();
if (prom_palette) if (prom_palette)
prom_palette(1); prom_palette(1);
if (prom_keyboard)
prom_keyboard();
prom_halt_power_off(); prom_halt_power_off();
panic("Power-off failed!"); panic("Power-off failed!");
} }
...@@ -147,8 +142,6 @@ void machine_restart(char * cmd) ...@@ -147,8 +142,6 @@ void machine_restart(char * cmd)
if (p) *p = 0; if (p) *p = 0;
if (prom_palette) if (prom_palette)
prom_palette (1); prom_palette (1);
if (prom_keyboard)
prom_keyboard();
if (cmd) if (cmd)
prom_reboot(cmd); prom_reboot(cmd);
if (*reboot_command) if (*reboot_command)
......
...@@ -69,7 +69,6 @@ struct screen_info screen_info = { ...@@ -69,7 +69,6 @@ struct screen_info screen_info = {
}; };
void (*prom_palette)(int); void (*prom_palette)(int);
void (*prom_keyboard)(void);
static void static void
prom_console_write(struct console *con, const char *s, unsigned n) prom_console_write(struct console *con, const char *s, unsigned n)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment