Commit 72af4165 authored by Andrew Morton's avatar Andrew Morton Committed by Hideaki Yoshifuji

[NET]: Remove spurious TASK_RUNNING setting after schedule_timeout().

parent 93879057
......@@ -2759,7 +2759,6 @@ static void netdev_wait_allrefs(struct net_device *dev)
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(HZ / 4);
current->state = TASK_RUNNING;
if (time_after(jiffies, warning_time + 10 * HZ)) {
printk(KERN_EMERG "unregister_netdevice: "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment