]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove unused phy_type enum
authorSasha Neftin <sasha.neftin@intel.com>
Sat, 23 Apr 2022 16:53:21 +0000 (19:53 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 10 May 2022 21:02:40 +0000 (14:02 -0700)
commit950926c20063d7e1ff239006c7b19d5a9aae7b07
tree3f4c95580de021b49fff932809f47ce97d380f8a
parentc8241364d5741de4d57446fd495325bd83c2972b
igc: Remove unused phy_type enum

Complete to commit 01b28db82433 ("igc: Remove unused phy type")
i225 parts have only one PHY. There is no point to use phy_type enum.
Clean up the code accordingly, and get rid of the unused enum lines.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@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_hw.h
drivers/net/ethernet/intel/igc/igc_phy.c