Messages in this thread | | | Date | Wed, 12 Sep 2018 08:55:30 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: combine judgments in the loop of maybe_create_worker |
| |
On Wed, Sep 12, 2018 at 09:58:29PM +0800, liusong@tom.com wrote: > From: Liu Song <liu.song11@zte.com.cn> > > 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@zte.com.cn>
idk, this doesn't really improve anything.
Thanks.
-- tejun
| |