diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-10-13 15:58:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 13:23:26 -0400 |
commit | 3e24fc947ce38e204c3bc58a7a68251facebf0ac (patch) | |
tree | 4acc5a6f37fc76b1bf7797134803dc4b53f18eb4 /arch/m68k | |
parent | 39d2d99d988142b7db38afab568c72da03b96237 (diff) |
m68k: Remove unused atari_kbd_translate()
If CONFIG_VT=n, I get:
| arch/m68k/atari/built-in.o: In function `atari_kbd_translate':
| arch/m68k/atari/atakeyb.c:640: undefined reference to `shift_state'
Just remove atari_kbd_translate(), as it's unused.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/atari/atakeyb.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c index bb959fbab2dc..c038b7c7eff0 100644 --- a/arch/m68k/atari/atakeyb.c +++ b/arch/m68k/atari/atakeyb.c | |||
@@ -635,15 +635,3 @@ int atari_keyb_init(void) | |||
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | EXPORT_SYMBOL_GPL(atari_keyb_init); | 637 | EXPORT_SYMBOL_GPL(atari_keyb_init); |
638 | |||
639 | int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode) | ||
640 | { | ||
641 | #ifdef CONFIG_MAGIC_SYSRQ | ||
642 | /* ALT+HELP pressed? */ | ||
643 | if ((keycode == 98) && ((shift_state & 0xff) == 8)) | ||
644 | *keycodep = 0xff; | ||
645 | else | ||
646 | #endif | ||
647 | *keycodep = keycode; | ||
648 | return 1; | ||
649 | } | ||