mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: remove struct mt76_sw_queue
All members except for the struct mt76_queue pointer have been removed Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -552,7 +552,7 @@ bool mt76_has_tx_pending(struct mt76_phy *phy)
|
||||
offset = __MT_TXQ_MAX * (phy != &dev->phy);
|
||||
|
||||
for (i = 0; i < __MT_TXQ_MAX; i++) {
|
||||
q = dev->q_tx[offset + i].q;
|
||||
q = dev->q_tx[offset + i];
|
||||
if (q && q->queued)
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user