]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove media type checking on the PHY initialization
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 18 Jul 2021 09:42:09 +0000 (12:42 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 29 Oct 2021 16:51:21 +0000 (09:51 -0700)
commitfec2cd787b43c169c995e2e0bd4e0b205606a940
treee81dd823bf4d43a420ac2003dc16db76e705784a
parent8bb2b1462b66c12f9dc9213588695ce8d6ee53a4
igc: Remove media type checking on the PHY initialization

i225 devices only have copper phy media type. There is no point in
checking phy media type during the phy initialization. This patch cleans
up a pointless check.

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