diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-09 14:00:04 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-14 00:44:34 +0400 |
commit | ff8f25d326da5e7cf6216f368116744341fceb12 (patch) | |
tree | 7a5b1d6ae17186d52911e5295f1f1a68a8496264 /drivers/media/usb/gspca/finepix.c | |
parent | 345321dc9c52b774f42c934339f9b3e2f0a39395 (diff) | |
download | linux-ff8f25d326da5e7cf6216f368116744341fceb12.tar.xz |
[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>
Diffstat (limited to 'drivers/media/usb/gspca/finepix.c')
-rw-r--r-- | drivers/media/usb/gspca/finepix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/usb/gspca/finepix.c b/drivers/media/usb/gspca/finepix.c index 04807eee7772..fb68a2934255 100644 --- a/drivers/media/usb/gspca/finepix.c +++ b/drivers/media/usb/gspca/finepix.c @@ -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 */ |