diff mbox series

[15/21] net/ixgbe/base: remove unnecessary log message FC autonego

Message ID 20200612032410.20864-16-guinanx.sun@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Qi Zhang
Headers show
Series update ixgbe base code | expand


Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Guinan Sun June 12, 2020, 3:24 a.m. UTC
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 <marekx.zalfresso-jundzillo@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
 drivers/net/ixgbe/base/ixgbe_common.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series


diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c
index c4e99d876..4a3b48b39 100644
--- a/drivers/net/ixgbe/base/ixgbe_common.c
+++ b/drivers/net/ixgbe/base/ixgbe_common.c
@@ -187,10 +187,6 @@  bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw)
-	if (!supported)
-			      "Device %x does not support flow control autoneg",
-			      hw->device_id);
 	return supported;