]> git.itanic.dy.fi Git - linux-stable/commit
async: simplify lowest_in_progress()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 12 Mar 2013 20:59:13 +0000 (13:59 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 12 Mar 2013 20:59:13 +0000 (13:59 -0700)
commit92266d6ef60c2381c980c6cdcb2a5c1667b36b49
treefe785136c54cbfb3f6ec837e2ae9e2f467c699ea
parent6dbe51c251a327e012439c4772097a13df43c5b8
async: simplify lowest_in_progress()

The code in lowest_in_progress() are duplicated in two branches,
simplify them.

tj: Minor indentation adjustment.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
kernel/async.c