]> 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)
commit2cc1c0f592b3923eb71ddbdfa43f81f7a5e96b91
tree3f4c95580de021b49fff932809f47ce97d380f8a
parent7d7ede46c106c1ae50d29cd659db21eab8160ffc
igc: Remove unused phy_type enum

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