diff options
author | 2018-06-01 07:30:49 +0530 | |
---|---|---|
committer | 2018-06-04 10:14:39 -0400 | |
commit | cfed0a2c98d798bed970fd450eb4d7854705b3e1 (patch) | |
tree | 0a0fc7eed518ae08aa56350db7017e66ee6428f9 /net/ipv6/ndisc.c | |
parent | net: stmmac: Add Flexible PPS support (diff) | |
download | linux-cfed0a2c98d798bed970fd450eb4d7854705b3e1.tar.gz linux-cfed0a2c98d798bed970fd450eb4d7854705b3e1.tar.bz2 linux-cfed0a2c98d798bed970fd450eb4d7854705b3e1.zip |
net: ethernet: mlx4: Remove unnecessary parentheses
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
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>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions