Commit 2c3601e6 authored by Tony Lindgren's avatar Tony Lindgren Committed by Kalle Valo
Browse files

wlcore: Remove pointless spinlock



No need to take a spinlock here for bitops.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200702162951.45392-5-tony@atomide.com
parent 35fba0f0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}