diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-01-12 10:21:29 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-13 21:35:16 -0800 |
commit | bf20ce9f3040e29f806d2b290f7bddbdee9f32ad (patch) | |
tree | 9fb9cb5bd4334a7cb79f1eb376b94df516e6f168 /net/unix/af_unix.c | |
parent | af6d10345ca76670c1b7c37799f0d5576ccef277 (diff) | |
download | linux-bf20ce9f3040e29f806d2b290f7bddbdee9f32ad.tar.gz linux-bf20ce9f3040e29f806d2b290f7bddbdee9f32ad.tar.bz2 linux-bf20ce9f3040e29f806d2b290f7bddbdee9f32ad.zip |
net: ethernet: mtk_wed: get rid of queue lock for tx queue
Similar to MTK Wireless Ethernet Dispatcher (WED) MCU rx queue,
we do not need to protect WED MCU tx queue with a spin lock since
the tx queue is accessed in the two following routines:
- mtk_wed_wo_queue_tx_skb():
it is run at initialization and during mt7915 normal operation.
Moreover MCU messages are serialized through MCU mutex.
- mtk_wed_wo_queue_tx_clean():
it runs just at mt7915 driver module unload when no more messages
are sent to the MCU.
Remove tx queue spinlock.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/7bd0337b2a13ab1a63673b7c03fd35206b3b284e.1673515140.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions