summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision/usbvision-core.c
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2007-12-12 22:37:54 +0100
committerThierry MERLE <thierry.merle@free.fr>2007-12-12 22:37:54 +0100
commite4be4ca4e052d77fbf7e19b7a88d4da1ad1aa64e (patch)
tree8dc796ff9c38ae591848ef7baee421c166fa0ca2 /linux/drivers/media/video/usbvision/usbvision-core.c
parentaf0e3689d502650b164b118360f25423eb0b1797 (diff)
downloadmediapointer-dvb-s2-e4be4ca4e052d77fbf7e19b7a88d4da1ad1aa64e.tar.gz
mediapointer-dvb-s2-e4be4ca4e052d77fbf7e19b7a88d4da1ad1aa64e.tar.bz2
media: video: usbvision: remove ctrlUrbLock
From: Daniel Walker <dwalker@mvista.com> The ctrlUrbLock has all it's users commented out, and so it's unused. This patch removes it. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-core.c')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-core.c b/linux/drivers/media/video/usbvision/usbvision-core.c
index 996203969..96fcd5987 100644
--- a/linux/drivers/media/video/usbvision/usbvision-core.c
+++ b/linux/drivers/media/video/usbvision/usbvision-core.c
@@ -1611,13 +1611,10 @@ static int usbvision_write_reg_irq(struct usb_usbvision *usbvision,int address,
if (len > 8) {
return -EFAULT;
}
-// down(&usbvision->ctrlUrbLock);
if (usbvision->ctrlUrbBusy) {
-// up(&usbvision->ctrlUrbLock);
return -EBUSY;
}
usbvision->ctrlUrbBusy = 1;
-// up(&usbvision->ctrlUrbLock);
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20)
usbvision->ctrlUrbSetup.requesttype = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT;