V4L/DVB (7120): videobuf lock is already initialized at videobuf-core.c

Removes the duplicated mutex_init code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
此提交包含在:
Mauro Carvalho Chehab
2008-01-31 13:40:04 -03:00
父節點 0ed4a6ea9d
當前提交 ce3a35d3c0
共有 2 個檔案被更改,包括 0 行新增3 行删除

查看文件

@@ -413,7 +413,6 @@ static int vbi_open(struct saa7146_dev *dev, struct file *file)
V4L2_FIELD_SEQ_TB, // FIXME: does this really work?
sizeof(struct saa7146_buf),
file);
mutex_init(&fh->vbi_q.lock);
init_timer(&fh->vbi_read_timeout);
fh->vbi_read_timeout.function = vbi_read_timeout;