patch-2.4.19 linux-2.4.19/drivers/sbus/char/zs.c

Next file: linux-2.4.19/drivers/sbus/sbus.c
Previous file: linux-2.4.19/drivers/sbus/char/uctrl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/sbus/char/zs.c linux-2.4.19/drivers/sbus/char/zs.c
@@ -543,8 +543,6 @@
 				/* Continue execution... */
 				return;
 			}
-			/* It is a 'keyboard interrupt' ;-) */
-			wake_up(&keypress_wait);
 		}
 #ifndef __sparc_v9__
 		/* Look for kgdb 'stop' character, consult the gdb
@@ -2797,13 +2795,6 @@
 #endif
 }
 
-static int
-zs_console_wait_key(struct console *con)
-{
-	sleep_on(&keypress_wait);
-	return 0;
-}
-
 static kdev_t zs_console_device(struct console *con)
 {
 	return MKDEV(TTY_MAJOR, 64 + con->index);
@@ -2881,7 +2872,6 @@
 	name:		"ttyS",
 	write:		zs_console_write,
 	device:		zs_console_device,
-	wait_key:	zs_console_wait_key,
 	setup:		zs_console_setup,
 	flags:		CON_PRINTBUFFER,
 	index:		-1,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)