[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.DEB.1.00.0809041148100.12258@zirkon.biophys.uni-duesseldorf.de>
Date: Thu, 04 Sep 2008 11:49:21 +0200 (CEST)
From: Michael Schmitz <schmitz@...phys.uni-duesseldorf.de>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-m68k@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 5/8] m68k: Remove unused atari_kbd_translate()
Hi Geert,
acked as requested.
> 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@...ux-m68k.org>
Acked-by: Michael Schmity <schmitz@...ian.org>
> ---
> arch/m68k/atari/atakeyb.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> --- 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;
> -}
>
> --
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists