igc: Remove _I_PHY_ID checking
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 7 Jul 2021 05:14:40 +0000 (08:14 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 20 Jul 2021 23:11:36 +0000 (16:11 -0700)
commit7c496de538eebd8212dc2a3c9a468386b264d0d4
tree055561fa1f795dcee1722f23c45416b4e5941042
parent373e2829e7c2e1e606503cdb5c97749f512a4be9
igc: Remove _I_PHY_ID checking

i225 devices have only one PHY vendor. There is no point checking
_I_PHY_ID during the link establishment and auto-negotiation process.
This patch comes to clean up these pointless checkings.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_base.c
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_phy.c