Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-3
-1
drivers/media/common/saa7146_vbi.c
··· 413 413 V4L2_FIELD_SEQ_TB, // FIXME: does this really work? 414 414 sizeof(struct saa7146_buf), 415 415 file); 416 - mutex_init(&fh->vbi_q.lock); 417 416 418 417 init_timer(&fh->vbi_read_timeout); 419 418 fh->vbi_read_timeout.function = vbi_read_timeout;
-2
drivers/media/common/saa7146_video.c
··· 1417 1417 sizeof(struct saa7146_buf), 1418 1418 file); 1419 1419 1420 - mutex_init(&fh->video_q.lock); 1421 - 1422 1420 return 0; 1423 1421 } 1424 1422