From: Oleg Nesterov Date: Fri, 20 Jun 2008 14:32:20 +0000 (+0400) Subject: sched: refactor wait_for_completion_timeout() X-Git-Tag: v2.6.26-rc8~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea71a546706dfdad72462624394e1e472c6bf34f;p=pandora-kernel.git 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 Acked-by: Peter Zijlstra --- Reading git-diff-tree failed