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

From: Tejun Heo
Date: Tue Jul 22 2014 - 11:34:52 EST


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 subsituted to "return pool".
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>

Applied to wq/for-3.17 w/ minor edits.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/