diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-09-30 07:39:05 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-09-30 14:13:29 +0200 |
commit | 6a57dba9f0107b21cab06f7c898935d747d4738a (patch) | |
tree | e706a7bf4918bd2557920ab45826df189a2584ca /drivers/bluetooth | |
parent | 3907d55801a631862ffca2b85c536ea5ceed2dc9 (diff) | |
download | linux-6a57dba9f0107b21cab06f7c898935d747d4738a.tar.gz linux-6a57dba9f0107b21cab06f7c898935d747d4738a.tar.bz2 linux-6a57dba9f0107b21cab06f7c898935d747d4738a.zip |
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.c | 4 |
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 { struct usb_interface *intf; struct usb_interface *isoc; - spinlock_t lock; - unsigned long flags; struct work_struct work; @@ -2002,8 +2000,6 @@ static int btusb_probe(struct usb_interface *intf, data->udev = interface_to_usbdev(intf); data->intf = intf; - spin_lock_init(&data->lock); - INIT_WORK(&data->work, btusb_work); INIT_WORK(&data->waker, btusb_waker); init_usb_anchor(&data->deferred); |