2020-03-02 21:14:30

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 1/3] staging: vt6656: vnt_int_start_interrupt remove spin lock.

This formed part of the legacy driver and potentially multi
users.

The driver now has only one user mac80211 remove this lock.

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/int.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c
index 3fa61c368464..fcf92cd1234b 100644
--- a/drivers/staging/vt6656/int.c
+++ b/drivers/staging/vt6656/int.c
@@ -26,16 +26,11 @@
int vnt_int_start_interrupt(struct vnt_private *priv)
{
int ret = 0;
- unsigned long flags;

dev_dbg(&priv->usb->dev, "---->Interrupt Polling Thread\n");

- spin_lock_irqsave(&priv->lock, flags);
-
ret = vnt_start_interrupt_urb(priv);

- spin_unlock_irqrestore(&priv->lock, flags);
-
return ret;
}

--
2.25.1