summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Zhao <ethan.zhao@oracle.com>2014-09-23 20:11:44 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-10-02 11:24:08 +0200
commit3463de103ac9d705705cb9a4c54db947f56b44d9 (patch)
tree0ed9d08140116dc9dc199e10a8c2f13a46f03c22
parentixgbe: fix setting of TXDCTL.WTRHESH when ITR is set to 0 and no BQL (diff)
downloadlinux-3463de103ac9d705705cb9a4c54db947f56b44d9.tar.xz
linux-3463de103ac9d705705cb9a4c54db947f56b44d9.zip
ixgbe: delete one duplicate marcro definition of IXGBE_MAX_L2A_QUEUES
There is typo in ixgbe.h, two marcro definition of IXGBE_MAX_L2A_QUEUES to 4, delete one, clear the compiler warning. Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
index 673d82095779..5032a602d5c9 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
@@ -307,7 +307,6 @@ enum ixgbe_ring_f_enum {
#define MAX_RX_QUEUES (IXGBE_MAX_FDIR_INDICES + 1)
#define MAX_TX_QUEUES (IXGBE_MAX_FDIR_INDICES + 1)
#define IXGBE_MAX_L2A_QUEUES 4
-#define IXGBE_MAX_L2A_QUEUES 4
#define IXGBE_BAD_L2A_QUEUE 3
#define IXGBE_MAX_MACVLANS 31
#define IXGBE_MAX_DCBMACVLANS 8