lkml.org 
[lkml]   [2018]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-09-12 17:55    [W:0.051 / U:9.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site