Skip to contentSkip to conversation

igc: Clean up unused pointers

PATCH New Sasha Neftin 2 participants 2 messages Apr 4, 2019 – Apr 10, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igc: Clean up unused pointers

Few function pointers from phy_operations structure were unused. This patch cleans those.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -3
index 7c88b7bd4799..1039a224ac80 100644
@@ -114,11 +114,8 @@ struct igc_nvm_operations {
 
 struct igc_phy_operations {
 	s32 (*acquire)(struct igc_hw *hw);
-	s32 (*check_polarity)(struct igc_hw *hw);
 	s32 (*check_reset_block)(struct igc_hw *hw);
 	s32 (*force_speed_duplex)(struct igc_hw *hw);
-	s32 (*get_cfg_done)(struct igc_hw *hw);
-	s32 (*get_cable_length)(struct igc_hw *hw);
 	s32 (*get_phy_info)(struct igc_hw *hw);
 	s32 (*read_reg)(struct igc_hw *hw, u32 address, u16 *data);
 	void (*release)(struct igc_hw *hw);
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Clean up unused pointers

Quoted 6 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Sasha Neftin
Sent: Thursday, April 4, 2019 3:27 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1 1/1] igc: Clean up unused pointers

Quoted 8 lines

Few function pointers from phy_operations structure were unused. This patch cleans those.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 3 ---
 1 file changed, 3 deletions(-)