aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2020-07-02 09:29:51 -0700
committerKalle Valo <[email protected]>2020-07-15 12:12:31 +0300
commit2c3601e6a3401ac14e3f581aa3acef4ff1e1b754 (patch)
tree63a3cc7026761314952f52f84c7f7c1ed2ae2cbf
parent35fba0f0fd762a8b87d403ae3c723e0061c4aa25 (diff)
wlcore: Remove pointless spinlock
No need to take a spinlock here for bitops. Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/net/wireless/ti/wlcore/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c
index 4cdfd4f566af..821ad1acd505 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -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;
}