commit | ea71a546706dfdad72462624394e1e472c6bf34f | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Jun 20 18:32:20 2008 +0400 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jun 20 17:15:49 2008 +0200 |
tree | eb6f257c73510deee995f330947de4624e9b404b | |
parent | bb10ed0994927d433f6dbdf274fdb26cfcf516b7 [diff] |
sched: refactor wait_for_completion_timeout() Simplify the code and fix the boundary condition of wait_for_completion_timeout(,0). We can kill the first __remove_wait_queue() as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>