Browse Source

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 năm trước cách đây
mục cha
commit
63806eeb61
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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;
 	}
 
-	bw = p->u.ofdm.bandwidth;
-
 	/* FIXME:
 	  There are two Scodes that will never be selected:
 		DTV78 ZARLINK456, DTV78 DIBCOM52