net: ethernet: bnx2: Remove extra parentheses
authorVarsha Rao <rvarsha016@gmail.com>
Sun, 3 Jun 2018 11:49:04 +0000 (17:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 21:07:27 +0000 (17:07 -0400)
commit6dc5aa212321c87a79746980eb258912bcf352ba
tree18b790ac118c9f07d21c6eb6b34afe4bad3cfd74
parent13ce3bc9c1b43566a31d3edc857a5950b2e77bd8
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>
drivers/net/ethernet/broadcom/bnx2.c