mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +00:00
wlcore: Remove pointless spinlock
No need to take a spinlock here for bitops. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200702162951.45392-5-tony@atomide.com
This commit is contained in:
parent
35fba0f0fd
commit
2c3601e6a3
1 changed files with 0 additions and 2 deletions
|
@ -700,9 +700,7 @@ static irqreturn_t wlcore_irq(int irq, void *cookie)
|
|||
mutex_unlock(&wl->mutex);
|
||||
|
||||
out_handled:
|
||||
spin_lock_irqsave(&wl->wl_lock, flags);
|
||||
clear_bit(WL1271_FLAG_IRQ_RUNNING, &wl->flags);
|
||||
spin_unlock_irqrestore(&wl->wl_lock, flags);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue