diff mbox series

[v1,1/2] igc: Remove the polarity field from a PHY information structure

Message ID 20190623104232.36661-1-sasha.neftin@intel.com
State Accepted
Delegated to: Jeff Kirsher
Headers show
Series [v1,1/2] igc: Remove the polarity field from a PHY information structure | expand

Commit Message

Sasha Neftin June 23, 2019, 10:42 a.m. UTC
Polarity and cable length fields is not applicable for the i225 device.
This patch comes to clean up phy information structure.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
---
 drivers/net/ethernet/intel/igc/igc_hw.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Brown, Aaron F July 16, 2019, 12:31 a.m. UTC | #1
On Sun, 2019-06-23 at 13:42 +0300, Sasha Neftin wrote:
> Polarity and cable length fields is not applicable for the i225 device.
> This patch comes to clean up phy information structure.
> 
> Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
> ---
>  drivers/net/ethernet/intel/igc/igc_hw.h | 6 ------
>  1 file changed, 6 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown@intel.com>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index 1039a224ac80..f689f0a02b5d 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -151,16 +151,10 @@  struct igc_phy_info {
 
 	u16 autoneg_advertised;
 	u16 autoneg_mask;
-	u16 cable_length;
-	u16 max_cable_length;
-	u16 min_cable_length;
-	u16 pair_length[4];
 
 	u8 mdix;
 
-	bool disable_polarity_correction;
 	bool is_mdix;
-	bool polarity_correction;
 	bool reset_disable;
 	bool speed_downgraded;
 	bool autoneg_wait_to_complete;