patch-2.4.19 linux-2.4.19/arch/ia64/hp/hpsim_console.c

Next file: linux-2.4.19/arch/ia64/ia32/binfmt_elf32.c
Previous file: linux-2.4.19/arch/ia64/defconfig
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/ia64/hp/hpsim_console.c linux-2.4.19/arch/ia64/hp/hpsim_console.c
@@ -24,14 +24,12 @@
 
 static int simcons_init (struct console *, char *);
 static void simcons_write (struct console *, const char *, unsigned);
-static int simcons_wait_key (struct console *);
 static kdev_t simcons_console_device (struct console *);
 
 struct console hpsim_cons = {
 	name:		"simcons",
 	write:		simcons_write,
 	device:		simcons_console_device,
-	wait_key:	simcons_wait_key,
 	setup:		simcons_init,
 	flags:		CON_PRINTBUFFER,
 	index:		-1,
@@ -56,17 +54,6 @@
 	}
 }
 
-static int
-simcons_wait_key (struct console *cons)
-{
-	char ch;
-
-	do {
-		ch = ia64_ssc(0, 0, 0, 0, SSC_GETCHAR);
-	} while (ch == '\0');
-	return ch;
-}
-
 static kdev_t
 simcons_console_device (struct console *c)
 {

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