V4L/DVB (11926): tuner-core: fix warning introduced when cleaning up xc5000 init...
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Thu, 28 May 2009 02:28:46 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:07:21 +0000 (19:07 -0300)
This patch removes some remaining dead code.  Warning showed up in Hans
Verkuil's daily report after I committed hg changeset 7f2eea75118b.

Thanks to Michael Krufky for bringing the warning to my attention.

Cc: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c

index 4018eacb3a4c6fc9f2ee36271714b42f2a88c4d3..537594211a90e1ccb6fa49b74e188b642ae0c6ae 100644 (file)
@@ -412,8 +412,6 @@ static void set_type(struct i2c_client *c, unsigned int type,
                break;
        case TUNER_XC5000:
        {
-               struct dvb_tuner_ops *xc_tuner_ops;
-
                xc5000_cfg.i2c_address    = t->i2c->addr;
                /* if_khz will be set when the digital dvb_attach() occurs */
                xc5000_cfg.if_khz         = 0;