Message ID | 20200702162951.45392-5-tony@atomide.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2c3601e6a3401ac14e3f581aa3acef4ff1e1b754 |
Delegated to: | Kalle Valo |
Headers | show |
Series | Improvments for wlcore irq and resume for v5.9 | expand |
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c --- 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; }
No need to take a spinlock here for bitops. Signed-off-by: Tony Lindgren <tony@atomide.com> --- drivers/net/wireless/ti/wlcore/main.c | 2 -- 1 file changed, 2 deletions(-)