patch-2.2.18 linux/drivers/char/epca.c

Next file: linux/drivers/char/generic_serial.c
Previous file: linux/drivers/char/dtlk.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/epca.c linux/drivers/char/epca.c
@@ -1681,7 +1681,7 @@
 		memory.
 	------------------------------------------------------------------*/
 
-	ulong flags, save_loops_per_sec; 
+	ulong flags;
 	int crd;
 	struct board_info *bd;
 	unsigned char board_id = 0;
@@ -1825,9 +1825,10 @@
 	/* --------------------------------------------------------------------- 
 	   loops_per_sec hasn't been set at this point :-(, so fake it out... 
 	   I set it, so that I can use the __delay() function.
+	   
+	   We don't use __delay(), so we don't need to fake it.
+	   
 	------------------------------------------------------------------------ */
-	save_loops_per_sec = loops_per_sec;
-	loops_per_sec = 13L * 500000L;
 
 	save_flags(flags);
 	cli();
@@ -1960,7 +1961,6 @@
 	if (tty_register_driver(&pc_info))
 		panic("Couldn't register Digi PC/ info ");
 
-	loops_per_sec = save_loops_per_sec;  /* reset it to what it should be */
 
 	/* -------------------------------------------------------------------
 	   Start up the poller to check for events on all enabled boards

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