V4L/DVB (6677): Fix xc2028 driver for non OFDM
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Nov 2007 22:29:22 +0000 (19:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:58 +0000 (19:02 -0200)
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>
drivers/media/video/tuner-xc2028.c

index cf72f22986a436b901fb6bf3ea9ec9756fda4a96..e1796ebb7c7126bf08943052c7b0ac770b8c06bb 100644 (file)
@@ -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