]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove checking media type during MAC initialization
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 17 Jun 2020 12:01:31 +0000 (15:01 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Jun 2020 01:22:03 +0000 (18:22 -0700)
commitf637471d33a7a786c455877361e70e0b2da3c56a
treebe702ba941c0ebb60883eac6a09ce68c32dc0d40
parent2b374e373807a7c3ce071de1a011acbfa94cf0d7
igc: Remove checking media type during MAC initialization

i225 device support only copper mode.
There is no point to check media type in the
igc_config_fc_after_link_up() 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_mac.c