Re: [PATCH] workqueue: remove the suspicuous out_unlock label in get_unbound_pool()

2014-07-22 Thread Tejun Heo
On Tue, Jul 22, 2014 at 01:04:49PM +0800, Lai Jiangshan wrote: > After the locking was moved up to the caller of the get_unbound_pool(), > out_unlock label doesn't need to do any unlock operation and the name > became bad, so we just remove this label, and the only usage-site > "goto out_unlock" is

[PATCH] workqueue: remove the suspicuous out_unlock label in get_unbound_pool()

2014-07-21 Thread Lai Jiangshan
After the locking was moved up to the caller of the get_unbound_pool(), out_unlock label doesn't need to do any unlock operation and the name became bad, so we just remove this label, and the only usage-site "goto out_unlock" is subsituted to "return pool". Signed-off-by: Lai Jiangshan --- kerne