mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
[media] gspca_finepix: Remove unnecessary lock/unlock call
gspca_main: init_transfer does not do anything between calling sd_start (which starts the workqueue) and releasing the usb_lock, so this synchronization is a nop, remove it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
345321dc9c
commit
ff8f25d326
1 changed files with 0 additions and 3 deletions
|
|
@ -87,9 +87,6 @@ static void dostream(struct work_struct *work)
|
|||
int ret = 0;
|
||||
int len;
|
||||
|
||||
/* synchronize with the main driver */
|
||||
mutex_lock(&gspca_dev->usb_lock);
|
||||
mutex_unlock(&gspca_dev->usb_lock);
|
||||
PDEBUG(D_STREAM, "dostream started");
|
||||
|
||||
/* loop reading a frame */
|
||||
|
|
|
|||
Loading…
Reference in a new issue