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)
commit7241069f7a0715f85ec868cf807446a6113b84fe
tree3f4c95580de021b49fff932809f47ce97d380f8a
parentd098538ed4e8a6c09f86cf243f406c1451066040
igc: Remove unused phy_type enum

Complete to commit 8e153faf5827 ("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