From: Geert Uytterhoeven Date: Mon, 13 Oct 2008 19:58:54 +0000 (+0200) Subject: m68k: Remove unused atari_kbd_translate() X-Git-Tag: v2.6.28-rc1~591 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e24fc947ce38e204c3bc58a7a68251facebf0ac;p=linux-2.6-omap-h63xx.git 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 Acked-by: Michael Schmitz Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c index bb959fbab2d..c038b7c7eff 100644 --- a/arch/m68k/atari/atakeyb.c +++ b/arch/m68k/atari/atakeyb.c @@ -635,15 +635,3 @@ int atari_keyb_init(void) return 0; } EXPORT_SYMBOL_GPL(atari_keyb_init); - -int atari_kbd_translate(unsigned char keycode, unsigned char *keycodep, char raw_mode) -{ -#ifdef CONFIG_MAGIC_SYSRQ - /* ALT+HELP pressed? */ - if ((keycode == 98) && ((shift_state & 0xff) == 8)) - *keycodep = 0xff; - else -#endif - *keycodep = keycode; - return 1; -}