aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-gimple-pass.h
diff options
context:
space:
mode:
authorJean Sacren <[email protected]>2021-10-31 01:27:28 +0000
committerJakub Kicinski <[email protected]>2021-11-01 23:35:27 +0000
commit1d6d336fed6b283a16594345a459b6e3bba3761a (patch)
treeffc2a868c99544242cb038e804a262745355dc18 /scripts/gcc-plugins/gcc-generate-gimple-pass.h
parentMerge branch 'accurate-memory-charging-for-msg_zerocopy' (diff)
downloadkernel-1d6d336fed6b283a16594345a459b6e3bba3761a.tar.gz
kernel-1d6d336fed6b283a16594345a459b6e3bba3761a.zip
net: vmxnet3: remove multiple false checks in vmxnet3_ethtool.c
In one if branch, (ec->rx_coalesce_usecs != 0) is checked. When it is checked again in two more places, it is always false and has no effect on the whole check expression. We should remove it in both places. In another if branch, (ec->use_adaptive_rx_coalesce != 0) is checked. When it is checked again, it is always false. We should remove the entire branch with it. In addition we might as well let C precedence dictate by getting rid of two pairs of parentheses in the neighboring lines in order to keep expressions on both sides of '||' in balance with checkpatch warning silenced. Signed-off-by: Jean Sacren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions