aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_ethtool.c
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2019-03-15 11:12:07 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-03-19 18:21:21 -0400
commitbb0e5837db3a194213dd40f05d272320e47dada0 (patch)
treeb3cf15f5d5c0bf5878dbdd11e785aee7d809d03c /drivers/net/ethernet/intel/igc/igc_ethtool.c
parentecad77fd29e4437e0488c5776fee1cc41a33aebb (diff)
igc: Remove unneeded hw_dbg prints
Remove unneeded hw_dbg prints from igc_ethtool.c file. Clean up code. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_ethtool.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet/intel/igc/igc_ethtool.c
index aaa1f97d5920..ac98f1d96892 100644
--- a/drivers/net/ethernet/intel/igc/igc_ethtool.c
+++ b/drivers/net/ethernet/intel/igc/igc_ethtool.c
@@ -1715,17 +1715,13 @@ static int igc_get_link_ksettings(struct net_device *netdev,
1715 if (hw->mac.type == igc_i225 && 1715 if (hw->mac.type == igc_i225 &&
1716 (status & IGC_STATUS_SPEED_2500)) { 1716 (status & IGC_STATUS_SPEED_2500)) {
1717 speed = SPEED_2500; 1717 speed = SPEED_2500;
1718 hw_dbg("2500 Mbs, ");
1719 } else { 1718 } else {
1720 speed = SPEED_1000; 1719 speed = SPEED_1000;
1721 hw_dbg("1000 Mbs, ");
1722 } 1720 }
1723 } else if (status & IGC_STATUS_SPEED_100) { 1721 } else if (status & IGC_STATUS_SPEED_100) {
1724 speed = SPEED_100; 1722 speed = SPEED_100;
1725 hw_dbg("100 Mbs, ");
1726 } else { 1723 } else {
1727 speed = SPEED_10; 1724 speed = SPEED_10;
1728 hw_dbg("10 Mbs, ");
1729 } 1725 }
1730 if ((status & IGC_STATUS_FD) || 1726 if ((status & IGC_STATUS_FD) ||
1731 hw->phy.media_type != igc_media_type_copper) 1727 hw->phy.media_type != igc_media_type_copper)