Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d07cca2 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

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: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c3124df7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -190,7 +190,7 @@ static void ath_rx_edma_cleanup(struct ath_softc *sc)


static void ath_rx_edma_init_queue(struct ath_rx_edma *rx_edma, int size)
static void ath_rx_edma_init_queue(struct ath_rx_edma *rx_edma, int size)
{
{
	skb_queue_head_init(&rx_edma->rx_fifo);
	__skb_queue_head_init(&rx_edma->rx_fifo);
	rx_edma->rx_fifo_hwsize = size;
	rx_edma->rx_fifo_hwsize = size;
}
}