OSDN Git Service

igc: Remove unneeded definition
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 29 Mar 2020 09:01:51 +0000 (12:01 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 May 2020 00:16:39 +0000 (17:16 -0700)
PHY_FORCE_LIMIT definition not in use and could be removed
i225 parts support auto negotiation mechanism

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_defines.h

index af0c03d..54a7941 100644 (file)
@@ -47,7 +47,6 @@
 /* Loop limit on how long we wait for auto-negotiation to complete */
 #define COPPER_LINK_UP_LIMIT           10
 #define PHY_AUTO_NEG_LIMIT             45
-#define PHY_FORCE_LIMIT                        20
 
 /* Number of 100 microseconds we wait for PCI Express master disable */
 #define MASTER_DISABLE_TIMEOUT         800