aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 5182b2893431..5c56f2a741f3 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -242,11 +242,11 @@ static void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *adapter,
242static inline bool ixgbe_tx_is_paused(struct ixgbe_adapter *adapter, 242static inline bool ixgbe_tx_is_paused(struct ixgbe_adapter *adapter,
243 struct ixgbe_ring *tx_ring) 243 struct ixgbe_ring *tx_ring)
244{ 244{
245 int tc;
246 u32 txoff = IXGBE_TFCS_TXOFF; 245 u32 txoff = IXGBE_TFCS_TXOFF;
247 246
248#ifdef CONFIG_IXGBE_DCB 247#ifdef CONFIG_IXGBE_DCB
249 if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) { 248 if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) {
249 int tc;
250 int reg_idx = tx_ring->reg_idx; 250 int reg_idx = tx_ring->reg_idx;
251 int dcb_i = adapter->ring_feature[RING_F_DCB].indices; 251 int dcb_i = adapter->ring_feature[RING_F_DCB].indices;
252 252