diff options
author | 2020-05-05 15:41:57 +0800 | |
---|---|---|
committer | 2020-05-28 19:58:34 -0700 | |
commit | 85c41c5b16ee5a4939a22ec833c6a76753e3d428 (patch) | |
tree | 9486dfcc7bfa7e3311c84a2b899254199dacde4d /drivers/net/ethernet/intel/igc/igc_mac.c | |
parent | ixgbe: fix signed-integer-overflow warning (diff) | |
download | linux-dev-85c41c5b16ee5a4939a22ec833c6a76753e3d428.tar.xz linux-dev-85c41c5b16ee5a4939a22ec833c6a76753e3d428.zip |
ixgbe: Remove conversion to bool in ixgbe_device_supports_autoneg_fc()
No need to convert '==' expression to bool. This fixes the following
coccicheck warning:
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c:68:11-16: WARNING:
conversion to bool not needed here
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_mac.c')
0 files changed, 0 insertions, 0 deletions