diff options
author | Varsha Rao | 2018-06-01 07:30:49 +0530 |
---|---|---|
committer | David S. Miller | 2018-06-04 10:14:39 -0400 |
commit | cfed0a2c98d798bed970fd450eb4d7854705b3e1 (patch) | |
tree | 0a0fc7eed518ae08aa56350db7017e66ee6428f9 /net | |
parent | 9a8a02c9d46dcd4c663dac39e6518b6bb7ac1631 (diff) |
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')
0 files changed, 0 insertions, 0 deletions