Skip to content

Commit

Permalink
[SPARC64]: Kill 'prom_keyboard'.
Browse files Browse the repository at this point in the history
Nothing ever sets it, so it just takes up space.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Feb 18, 2008
1 parent 1d5509a commit 101788b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions arch/sparc64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,12 @@ void cpu_idle(void)
extern char reboot_command [];

extern void (*prom_palette)(int);
extern void (*prom_keyboard)(void);

void machine_halt(void)
{
sstate_halt();
if (prom_palette)
prom_palette (1);
if (prom_keyboard)
prom_keyboard();
prom_halt();
panic("Halt failed!");
}
Expand All @@ -132,8 +129,6 @@ void machine_alt_power_off(void)
sstate_poweroff();
if (prom_palette)
prom_palette(1);
if (prom_keyboard)
prom_keyboard();
prom_halt_power_off();
panic("Power-off failed!");
}
Expand All @@ -147,8 +142,6 @@ void machine_restart(char * cmd)
if (p) *p = 0;
if (prom_palette)
prom_palette (1);
if (prom_keyboard)
prom_keyboard();
if (cmd)
prom_reboot(cmd);
if (*reboot_command)
Expand Down
1 change: 0 additions & 1 deletion arch/sparc64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ struct screen_info screen_info = {
};

void (*prom_palette)(int);
void (*prom_keyboard)(void);

static void
prom_console_write(struct console *con, const char *s, unsigned n)
Expand Down

0 comments on commit 101788b

Please sign in to comment.