mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Bluetooth: btusb: remove redundant lock variable
This variable is nowhere used in the code. Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
3907d55801
commit
6a57dba9f0
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue