net/skethtool: remove duplicate delay
Subsystems (2)
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.
Signed-off-by Nishanth Aravamudan <[email protected]>
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