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

[PATCH] Unneeded memory barrier in net/irda code

parent 16a5517c
......@@ -132,7 +132,7 @@ static int irda_thread(void *startup)
if (list_empty(&irda_rq_queue.request_list))
schedule();
else
set_task_state(current, TASK_RUNNING);
__set_task_state(current, TASK_RUNNING);
remove_wait_queue(&irda_rq_queue.kick, &wait);
/* make swsusp happy with our thread */
......@@ -165,7 +165,7 @@ static void flush_irda_queue(void)
if (atomic_read(&irda_rq_queue.num_pending))
schedule();
else
set_task_state(current, TASK_RUNNING);
__set_task_state(current, TASK_RUNNING);
remove_wait_queue(&irda_rq_queue.done, &wait);
}
}
......
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