summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_hw.h
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2022-04-23 19:53:21 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-05-11 00:02:40 +0300
commit7241069f7a0715f85ec868cf807446a6113b84fe (patch)
tree3f4c95580de021b49fff932809f47ce97d380f8a /drivers/net/ethernet/intel/igc/igc_hw.h
parentd098538ed4e8a6c09f86cf243f406c1451066040 (diff)
downloadlinux-7241069f7a0715f85ec868cf807446a6113b84fe.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_hw.h')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_hw.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index b1e72ec5f131..360644f33d5f 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -53,11 +53,6 @@ enum igc_mac_type {
igc_num_macs /* List is 1-based, so subtract 1 for true count. */
};
-enum igc_phy_type {
- igc_phy_unknown = 0,
- igc_phy_i225,
-};
-
enum igc_media_type {
igc_media_type_unknown = 0,
igc_media_type_copper = 1,
@@ -138,8 +133,6 @@ struct igc_nvm_info {
struct igc_phy_info {
struct igc_phy_operations ops;
- enum igc_phy_type type;
-
u32 addr;
u32 id;
u32 reset_delay_us; /* in usec */