diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2010-05-26 15:33:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 13:47:38 -0700 |
commit | 690b781b327a1c986c33fb2c51dd966c38222943 (patch) | |
tree | 5b314f47882ac8f1bcb487e1203105639cbfea2c /drivers/serial/68328serial.c | |
parent | ea5d023615948e85517ac81a7fae79429109cfa2 (diff) | |
download | op-kernel-dev-690b781b327a1c986c33fb2c51dd966c38222943.zip op-kernel-dev-690b781b327a1c986c33fb2c51dd966c38222943.tar.gz |
serial: There's no config CONSOLE
as there's no config CONSOLE (never has been as far as I can tell) and
noone has ever missed that piece of code, it should be safe to remove
it making the kernel a tiny bit less complex.
Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/68328serial.c')
-rw-r--r-- | drivers/serial/68328serial.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c index 3046386..9330edb 100644 --- a/drivers/serial/68328serial.c +++ b/drivers/serial/68328serial.c @@ -78,10 +78,6 @@ struct m68k_serial *m68k_consinfo = 0; #define M68K_CLOCK (16667000) /* FIXME: 16MHz is likely wrong */ -#ifdef CONFIG_CONSOLE -extern wait_queue_head_t keypress_wait; -#endif - struct tty_driver *serial_driver; /* number of characters left in xmit buffer before we ask for more */ @@ -300,10 +296,6 @@ static void receive_chars(struct m68k_serial *info, unsigned short rx) return; #endif /* CONFIG_MAGIC_SYSRQ */ } - /* It is a 'keyboard interrupt' ;-) */ -#ifdef CONFIG_CONSOLE - wake_up(&keypress_wait); -#endif } if(!tty) |