mt76: usb: reduce locking in mt76u_tx_tasklet
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 25 Mar 2019 19:18:38 +0000 (20:18 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:58 +0000 (13:03 +0200)
commitce0fd825890856b1681e41bba639b5f3c39569e3
treebdfc1d5f595cfae993218a5f9bef0e6934bf2d8c
parent37426fb67a017f0140e529fe4b09e490989cdbf0
mt76: usb: reduce locking in mt76u_tx_tasklet

Similar to pci counterpart, reduce locking in mt76u_tx_tasklet since
q->head is managed just in mt76u_tx_tasklet and q->queued is updated
holding q->lock

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c