Re: [PATCH] workqueue: combine judgments in the loop of maybe_create_worker

From: Tejun Heo
Date: Wed Sep 12 2018 - 11:55:36 EST


On Wed, Sep 12, 2018 at 09:58:29PM +0800, liusong@xxxxxxx wrote:
> From: Liu Song <liu.song11@xxxxxxxxxx>
>
> Although the 'need_to_create_worker' has been determined to be
> true before entering the function. However, adjusting the order
> of judgment can combine two judgments in the loop. Also improve
> the matching between logical operations and function naming.
>
> Signed-off-by: Liu Song <liu.song11@xxxxxxxxxx>

idk, this doesn't really improve anything.

Thanks.

--
tejun