From: Guinan Sun Date: Thu, 9 Jul 2020 08:00:39 +0000 (+0000) Subject: net/ixgbe/base: remove log message FC autoneg X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=658dfd345fd6f950262c0bbe1cc2b5920e2faf73;p=dpdk.git net/ixgbe/base: remove log message FC autoneg The function ixgbe_device_supports_autoneg_fc is checking whether a particular device and medium configuration is supporting Flow Control Autonegotiation. In case of non-support, the message is always logged which is confusing. The fix is removing unnecessary log entry. Signed-off-by: Zalfresso-Jundzillo Signed-off-by: Guinan Sun Reviewed-by: Wei Zhao --- diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c index f17dba93bc..49cee80624 100644 --- a/drivers/net/ixgbe/base/ixgbe_common.c +++ b/drivers/net/ixgbe/base/ixgbe_common.c @@ -186,10 +186,6 @@ bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) break; } - if (!supported) - ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED, - "Device %x does not support flow control autoneg", - hw->device_id); return supported; }