summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-05-27 23:28:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 19:07:21 -0300
commit0f9fba3129541822b1d75330406e62e838bf4fc1 (patch)
tree391d42beb3cd7b2eb1bac0e13a4024043805c3d6 /drivers/media/video/tuner-core.c
parent3ed58baf5db4eab553803916a990a3dbca4dc611 (diff)
downloadtalos-obmc-linux-0f9fba3129541822b1d75330406e62e838bf4fc1.tar.gz
talos-obmc-linux-0f9fba3129541822b1d75330406e62e838bf4fc1.zip
V4L/DVB (11926): tuner-core: fix warning introduced when cleaning up xc5000 init routine
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>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 4018eacb3a4c..537594211a90 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -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;
OpenPOWER on IntegriCloud