diff options
| author | Varsha Rao <rvarsha016@gmail.com> | 2018-06-03 14:49:04 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-06-05 00:07:27 +0300 |
| commit | 6dc5aa212321c87a79746980eb258912bcf352ba (patch) | |
| tree | 18b790ac118c9f07d21c6eb6b34afe4bad3cfd74 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 13ce3bc9c1b43566a31d3edc857a5950b2e77bd8 (diff) | |
| download | linux-6dc5aa212321c87a79746980eb258912bcf352ba.tar.xz | |
net: ethernet: bnx2: Remove extra parentheses
The following coccinelle script removes extra parentheses to fix the
clang warning of extraneous parentheses.
@disable paren@
identifier i;
expression e;
statement s;
@@
if (
-(i == e)
+i == e
)
s
Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
