]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Remove conversion to bool in ixgbe_device_supports_autoneg_fc()
authorJason Yan <yanaijie@huawei.com>
Tue, 5 May 2020 07:41:57 +0000 (15:41 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 02:58:34 +0000 (19:58 -0700)
commitf20d0ad31b171c5333fce7a4de576701a8b0f03a
tree9486dfcc7bfa7e3311c84a2b899254199dacde4d
parent2f32b8ff44fb07a8a6cf38dba22f61b7830b6d94
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c