diff --git a/tx.c b/tx.c index 1e20afb70..25627e70b 100644 --- a/tx.c +++ b/tx.c @@ -504,14 +504,11 @@ mt76_txq_schedule_list(struct mt76_phy *phy, enum mt76_txq_id qid) void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid) { - struct mt76_queue *q; int len; if (qid >= 4) return; - q = phy->q_tx[qid]; - rcu_read_lock(); do {