diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2022-06-25 03:33:02 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-06-30 19:40:55 +0300 |
commit | fda35af9759552cd8da6c127725d8ef0c751a6e3 (patch) | |
tree | 4bd8cd507d2bea354064ced63603f994c74ca763 /drivers/net/ethernet/intel/e1000/e1000_param.c | |
parent | bf48c3fae6d78d6418f62bd3259cd62dd16f83ec (diff) | |
download | linux-fda35af9759552cd8da6c127725d8ef0c751a6e3.tar.xz |
intel: remove unused macros
As found by the compile option -Wunused-macros, remove these macros
that are never used by the code.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000/e1000_param.c')
-rw-r--r-- | drivers/net/ethernet/intel/e1000/e1000_param.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000_param.c b/drivers/net/ethernet/intel/e1000/e1000_param.c index 4d4f5bf1e516..f4154ca7fcb4 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_param.c +++ b/drivers/net/ethernet/intel/e1000/e1000_param.c @@ -82,7 +82,6 @@ E1000_PARAM(Duplex, "Duplex setting"); */ E1000_PARAM(AutoNeg, "Advertised auto-negotiation setting"); #define AUTONEG_ADV_DEFAULT 0x2F -#define AUTONEG_ADV_MASK 0x2F /* User Specified Flow Control Override * @@ -95,7 +94,6 @@ E1000_PARAM(AutoNeg, "Advertised auto-negotiation setting"); * Default Value: Read flow control settings from the EEPROM */ E1000_PARAM(FlowControl, "Flow Control setting"); -#define FLOW_CONTROL_DEFAULT FLOW_CONTROL_FULL /* XsumRX - Receive Checksum Offload Enable/Disable * |