diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-05 11:09:14 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-04-17 20:55:09 +0300 |
commit | 431eb49e87ed8de7728b879e7288d85fb87f83ff (patch) | |
tree | a82aa19896e5b051b1b678c81e177f0b8ac2472b /drivers/bcma | |
parent | 2f51061edab942988b1a3c057d21228e938603db (diff) |
rtl8xxxu: 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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/8bcec6429615aeb498482dc7e1955ce09b456585.1617613700.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions