dma: remove unused-but-set variable

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-10-05 17:27:43 +02:00
parent d4900fc37f
commit 0220a2ba50
+1 -2
View File
@@ -338,11 +338,10 @@ mt76_tx_cleanup_entry(struct mt76_dev *dev, struct mt76_queue *q, int idx,
static void
mt76_tx_cleanup_queue(struct mt76_dev *dev, struct mt76_queue *q, bool flush)
{
int idx, last;
int last;
spin_lock_bh(&q->lock);
idx = q->tail;
if (flush)
last = -1;
else