]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove unneeded check for copper media type
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 10 Jun 2020 12:43:08 +0000 (15:43 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Jun 2020 01:21:56 +0000 (18:21 -0700)
commit667c5cecd45cc819efe65bb4173b7ec04ad070b0
treed4b5171af5e02058e496613b60b7296dcf6b39ca
parentcbced77c247ea04cbe176c97c4318c1c94f02118
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: 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>
drivers/net/ethernet/intel/igc/igc_main.c