Skip to content
Commit 85c41c5b authored by Jason Yan's avatar Jason Yan Committed by Jeff Kirsher
Browse files

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: default avatarJason Yan <yanaijie@huawei.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 3b70683f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment