瀏覽代碼

V4L/DVB (5919): ivtv: remove dead code

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Hans Verkuil 18 年之前
父節點
當前提交
7bb2938494
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      drivers/media/video/ivtv/ivtv-streams.c

+ 0 - 9
drivers/media/video/ivtv/ivtv-streams.c

@@ -314,15 +314,6 @@ static void ivtv_vbi_setup(struct ivtv *itv)
 	int lines;
 	int lines;
 	int i;
 	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 */
 	/* Reset VBI */
 	ivtv_vapi(itv, CX2341X_ENC_SET_VBI_LINE, 5, 0xffff , 0, 0, 0, 0);
 	ivtv_vapi(itv, CX2341X_ENC_SET_VBI_LINE, 5, 0xffff , 0, 0, 0, 0);