浏览代码

V4L/DVB (6677): Fix xc2028 driver for non OFDM

A previous patch implemented support for non-OFDM digital TV. However, the
previous bandwidth ofdm parameter were left at the code by mistake.

Thanks to Michael Krufky and Patrick Boettcher for noticing this mistake.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 17 年之前
父节点
当前提交
63806eeb61
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/media/video/tuner-xc2028.c

+ 0 - 2
drivers/media/video/tuner-xc2028.c

@@ -972,8 +972,6 @@ static int xc2028_set_params(struct dvb_frontend *fe,
 		break;
 		break;
 	}
 	}
 
 
-	bw = p->u.ofdm.bandwidth;
-
 	/* FIXME:
 	/* FIXME:
 	  There are two Scodes that will never be selected:
 	  There are two Scodes that will never be selected:
 		DTV78 ZARLINK456, DTV78 DIBCOM52
 		DTV78 ZARLINK456, DTV78 DIBCOM52