aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-02-01 21:44:00 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:38 -0400
commit4325dff220918c2ced82d16c3475d9a5afb1cab3 (patch)
treeb7d9b6d6fa309180cbb909c6384f2f6d487dd91c /drivers/media/video/cx18/cx18-driver.c
parent0b089742c79b39d4a650614896fec7a6569f338e (diff)
V4L/DVB (10437): cx18: Remove an unused spinlock
Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.c')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 1518a58e17f..062f1910e8d 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -563,8 +563,6 @@ static int __devinit cx18_init_struct1(struct cx18 *cx)
563 mutex_init(&cx->epu2apu_mb_lock); 563 mutex_init(&cx->epu2apu_mb_lock);
564 mutex_init(&cx->epu2cpu_mb_lock); 564 mutex_init(&cx->epu2cpu_mb_lock);
565 565
566 spin_lock_init(&cx->lock);
567
568 cx->work_queue = create_singlethread_workqueue(cx->name); 566 cx->work_queue = create_singlethread_workqueue(cx->name);
569 if (cx->work_queue == NULL) { 567 if (cx->work_queue == NULL) {
570 CX18_ERR("Unable to create work hander thread\n"); 568 CX18_ERR("Unable to create work hander thread\n");