V4L/DVB (5919): ivtv: remove dead code
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 22 Jul 2007 12:42:09 +0000 (09:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:03:14 +0000 (22:03 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-streams.c

index 51df3f8550310f2ffdc0b3c5c937ca14ac1bdde1..405e2e3fcb4901427e8caed2e4a41119e9ae9cd3 100644 (file)
@@ -314,15 +314,6 @@ static void ivtv_vbi_setup(struct ivtv *itv)
        int lines;
        int i;
 
-       /* If Embed then streamtype must be Program */
-       /* TODO: should we really do this? */
-       if (0 && !raw && itv->vbi.insert_mpeg) {
-               itv->params.stream_type = 0;
-
-               /* assign stream type */
-               ivtv_vapi(itv, CX2341X_ENC_SET_STREAM_TYPE, 1, itv->params.stream_type);
-       }
-
        /* Reset VBI */
        ivtv_vapi(itv, CX2341X_ENC_SET_VBI_LINE, 5, 0xffff , 0, 0, 0, 0);