All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] staging: vt6656: vnt_int_start_interrupt remove spin lock.
@ 2020-03-02 21:13 ` Malcolm Priestley
  0 siblings, 0 replies; 2+ messages in thread
From: Malcolm Priestley @ 2020-03-02 21:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: devel, linux-wireless

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 <tvboxspy@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/3] staging: vt6656: vnt_int_start_interrupt remove spin lock.
@ 2020-03-02 21:13 ` Malcolm Priestley
  0 siblings, 0 replies; 2+ messages in thread
From: Malcolm Priestley @ 2020-03-02 21:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: devel, linux-wireless

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 <tvboxspy@gmail.com>
---
 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
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-02 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 21:13 [PATCH 1/3] staging: vt6656: vnt_int_start_interrupt remove spin lock Malcolm Priestley
2020-03-02 21:13 ` Malcolm Priestley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.