summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-04-05 09:57:14 +0200
committerKalle Valo <kvalo@codeaurora.org>2021-04-17 20:32:04 +0300
commit1186006adee97ebb5b16db0e4ae64e8efb2c8f76 (patch)
tree9b8d194b2c14676075dc7e9046e82ef4ff2bd762 /crypto
parent987e9bcdd0b76a9d35f0b82013294429b401f7bb (diff)
rtlwifi: Simplify locking of a skb list accesses
The 'c2hcmd_lock' spinlock is only used to protect some __skb_queue_tail() and __skb_dequeue() calls. Use the lock provided in the skb itself and call skb_queue_tail() and skb_dequeue(). These functions already include the correct locking. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/99cf8894fd52202cb7ce2ec6e3200eef400bc071.1617609346.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions