Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 5d07cca

Browse files
Sujith Manoharanlinvjw
authored andcommitted
ath9k: Use lockless variant to initialize RX fifo
Since the rx_fifo queue is accessed only using the various lockless SKB queue routines, there is no need to initialize the lock and __skb_queue_head_init() can be used. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent c3124df commit 5d07cca

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/ath/ath9k

1 file changed

+1
-1
lines changed

drivers/net/wireless/ath/ath9k/recv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static void ath_rx_edma_cleanup(struct ath_softc *sc)
190190

191191
static void ath_rx_edma_init_queue(struct ath_rx_edma *rx_edma, int size)
192192
{
193-
skb_queue_head_init(&rx_edma->rx_fifo);
193+
__skb_queue_head_init(&rx_edma->rx_fifo);
194194
rx_edma->rx_fifo_hwsize = size;
195195
}
196196

0 commit comments

Comments
 (0)