Messages in this thread | | | Subject | Re: [PATCH] crypto: cavium: zip: Remove unnecessary parentheses | From | Joe Perches <> | Date | Wed, 28 Mar 2018 11:11:16 -0700 |
| |
On Wed, 2018-03-28 at 23:27 +0530, Varsha Rao wrote: > This patch fixes the clang warning of extraneous parentheses, with the > following coccinelle script. > > @@ > identifier i; > constant c; > @@ > ( > -((i == c)) > +i == c > > > > -((i <= c)) > +i <= c
Why just the "==" and "<=" cases? Why not "<", ">" and ">=" too?
Why not expression instead of constant?
| |