Commit b81e9df3 authored by Felipe Damasio's avatar Felipe Damasio Committed by Stephen Hemminger

[PATCH] slip.c: current state cleanup

parent 80fefc0b
......@@ -1389,9 +1389,8 @@ static void __exit slip_exit(void)
*/
do {
if (busy) {
current->state = TASK_INTERRUPTIBLE;
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(HZ / 10);
current->state = TASK_RUNNING;
}
busy = 0;
......
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