projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3907d55
)
Bluetooth: btusb: remove redundant lock variable
author
Amitkumar Karwar
<akarwar@marvell.com>
Tue, 30 Sep 2014 11:39:05 +0000
(07:39 -0400)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 30 Sep 2014 12:13:29 +0000
(14:13 +0200)
This variable is nowhere used in the code.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index a423b84a0ed34f4df0075647d037d05a070ef9da..edfc17bfcd44e02a8c8fb8748687cf265770863d 100644
(file)
--- 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);