aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-09-30 07:39:05 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-09-30 08:13:29 -0400
commit6a57dba9f0107b21cab06f7c898935d747d4738a (patch)
treee706a7bf4918bd2557920ab45826df189a2584ca /drivers/bluetooth
parent3907d55801a631862ffca2b85c536ea5ceed2dc9 (diff)
Bluetooth: btusb: remove redundant lock variable
This variable is nowhere used in the code. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btusb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index a423b84a0ed3..edfc17bfcd44 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -268,8 +268,6 @@ struct btusb_data {
268 struct usb_interface *intf; 268 struct usb_interface *intf;
269 struct usb_interface *isoc; 269 struct usb_interface *isoc;
270 270
271 spinlock_t lock;
272
273 unsigned long flags; 271 unsigned long flags;
274 272
275 struct work_struct work; 273 struct work_struct work;
@@ -2002,8 +2000,6 @@ static int btusb_probe(struct usb_interface *intf,
2002 data->udev = interface_to_usbdev(intf); 2000 data->udev = interface_to_usbdev(intf);
2003 data->intf = intf; 2001 data->intf = intf;
2004 2002
2005 spin_lock_init(&data->lock);
2006
2007 INIT_WORK(&data->work, btusb_work); 2003 INIT_WORK(&data->work, btusb_work);
2008 INIT_WORK(&data->waker, btusb_waker); 2004 INIT_WORK(&data->waker, btusb_waker);
2009 init_usb_anchor(&data->deferred); 2005 init_usb_anchor(&data->deferred);