Skip to contentSkip to conversation

net/skethtool: remove duplicate delay

PATCH Applied Nishanth Aravamudan 1 participant 1 message Jan 17, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 15/21 net/skethtool: remove duplicate delay

Hi,

Please consider applying.

Description: Remove an unnecessary second (and identical) delay. schedule_timeout() does not need to be called, as msleep_interruptible() already delayed the task.

drivers/net/sk98lin/skethtool.c +0 -3
@@ -437,9 +437,6 @@ static int locateDevice(struct net_devic
 	pAC->LedsOn = 0;
 	mod_timer(&pAC->BlinkTimer, jiffies);
 	msleep_interruptible(data * 1000);
-
-	set_current_state(TASK_INTERRUPTIBLE);
-	schedule_timeout(data * HZ);
 	del_timer_sync(&pAC->BlinkTimer);
 	toggleLeds(pNet, 0);
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors