staging: vt6656: vnt_int_start_interrupt remove spin lock.
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 2 Mar 2020 21:13:28 +0000 (21:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Mar 2020 06:52:32 +0000 (07:52 +0100)
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>
Link: https://lore.kernel.org/r/871a78d4-6d3e-f34b-d0ae-6123803c6faf@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/int.c

index 3fa61c3..fcf92cd 100644 (file)
 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;
 }