patch-2.3.16 linux/drivers/char/ip2/i2lib.c

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

diff -u --recursive --new-file v2.3.15/linux/drivers/char/ip2/i2lib.c linux/drivers/char/ip2/i2lib.c
@@ -640,7 +640,6 @@
 		
 		if (!in_interrupt()) {
 			current->state = TASK_INTERRUPTIBLE;
-			current->counter = 0;
 			schedule_timeout(1);	// short nap 
 		} else {
 			// we cannot sched/sleep in interrrupt silly
@@ -1135,7 +1134,6 @@
 	ip2trace (CHANN, ITRC_OUTPUT, 61, 0 );
 #endif
 					current->state = TASK_INTERRUPTIBLE;
-					current->counter = 0;
 					schedule_timeout(2);
 					if (signal_pending(current)) {
 						break;

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