Re: checkpatch: exclude drivers/staging from if with unnecessary parentheses test
From: Andrew Morton
Date: Thu Jan 11 2018 - 18:03:38 EST
On Thu, 11 Jan 2018 12:53:54 -0800 Joe Perches <joe@xxxxxxxxxxx> wrote:
> Greg KH doesn't like this test so exclude the staging directory
> from the implied --strict only test unless --strict is actually
> used on the command-line.
>
"doesn't like" is rather vague. What is the objection, specifically?
Also, an example of code which has an "if with unnecessary parentheses"
would help others understand the decision.