Commit 2b374e37 authored by Sasha Neftin's avatar Sasha Neftin Committed by Jeff Kirsher
Browse files

igc: Remove unneeded check for copper media type



PHY of the i225 device support only copper mode.
There is no point to check media type in the
igc_power_up_link() method.

Signed-off-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent a0beb3c1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ static void igc_power_up_link(struct igc_adapter *adapter)
{
	igc_reset_phy(&adapter->hw);

	if (adapter->hw.phy.media_type == igc_media_type_copper)
	igc_power_up_phy_copper(&adapter->hw);

	igc_setup_link(&adapter->hw);