[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dcf6ec9f-39f2-4729-9250-14eb4d8d2adb@stanley.mountain>
Date: Thu, 9 Jan 2025 10:45:50 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Alex Elder <elder@...e.org>
Cc: Will Walsh <iron.will.walsh@...il.com>,
Vaibhav Agarwal <vaibhav.sr@...il.com>,
Mark Greer <mgreer@...malcreek.com>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, outreachy@...ts.linux.dev
Subject: Re: [PATCH] staging: greybus: remove unnecessary parentheses
On Wed, Jan 08, 2025 at 08:56:50PM -0600, Alex Elder wrote:
> On 1/8/25 6:36 PM, Will Walsh wrote:
> > Unnecessary parentheses in boolean comparisons make it harder to read.
> >
> > Removed the extra parentheses on line 305 for code readability.
> >
> > Signed-off-by: Will Walsh <iron.will.walsh@...il.com>
>
> I'm not sure this makes a big difference in readability but I
> personally avoid extra parentheses unless adding them makes a
> compiler warning go away.
It's not a compiler warning, it checkpatch.
regards,
dan carpenter
Powered by blists - more mailing lists