summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/nfp/nfp_app.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-09 01:59:05 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-11 08:28:50 +0300
commit7579d84be12c4645672deeac5bb0eace7dbd6cb5 (patch)
tree7e4c5a1462ef6dd1119fb002f4b032e7e01ef6fe /drivers/net/ethernet/netronome/nfp/nfp_app.h
parentffd177dea5c1ee5b717961d041df0778d58f50c0 (diff)
downloadlinux-7579d84be12c4645672deeac5bb0eace7dbd6cb5.tar.xz
isdn/hisax: amd7930_fn: Remove unnecessary parentheses
Clang warns when multiple sets of parentheses are used for a single conditional statement. drivers/isdn/hisax/amd7930_fn.c:628:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((cs->dc.amd7930.ph_state == 8)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ drivers/isdn/hisax/amd7930_fn.c:628:32: note: remove extraneous parentheses around the comparison to silence this warning if ((cs->dc.amd7930.ph_state == 8)) { ~ ^ ~ drivers/isdn/hisax/amd7930_fn.c:628:32: note: use '=' to turn this equality comparison into an assignment if ((cs->dc.amd7930.ph_state == 8)) { ^~ = 1 warning generated. Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_app.h')
0 files changed, 0 insertions, 0 deletions