aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Gholami Rudi <ali@rudi.ir>2009-11-10 01:40:06 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-11 22:22:19 -0500
commitf9254edaabfc48f5a28bb5a88c6db48704cc058d (patch)
tree9c180194e0bf4f8a20e01c1e1dbaf4aacac6a1d7
parente5c140a340c4796054b0f6e9035e1faa7edfa6d6 (diff)
ixgbe: r_idx not used in ixgbe_msix_clean_rx()
The values of r_idx and rx_ring are not used after the last time they are set in ixgbe_msix_clean_rx(), so they can be removed. Signed-off-by: Ali Gholami Rudi <ali@rudi.ir> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 448e84d56601..afd49e04a56a 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -1339,8 +1339,6 @@ static irqreturn_t ixgbe_msix_clean_rx(int irq, void *data)
1339 if (!q_vector->rxr_count) 1339 if (!q_vector->rxr_count)
1340 return IRQ_HANDLED; 1340 return IRQ_HANDLED;
1341 1341
1342 r_idx = find_first_bit(q_vector->rxr_idx, adapter->num_rx_queues);
1343 rx_ring = &(adapter->rx_ring[r_idx]);
1344 /* disable interrupts on this vector only */ 1342 /* disable interrupts on this vector only */
1345 ixgbe_irq_disable_queues(adapter, ((u64)1 << q_vector->v_idx)); 1343 ixgbe_irq_disable_queues(adapter, ((u64)1 << q_vector->v_idx));
1346 napi_schedule(&q_vector->napi); 1344 napi_schedule(&q_vector->napi);