summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-05-27 22:28:46 -0400
committerDevin Heitmueller <dheitmueller@kernellabs.com>2009-05-27 22:28:46 -0400
commitf12529f2224df7595de7e73f6b717ef125124f5e (patch)
tree0a4f392afd027e3063795ac5adc54998b594cccd /linux
parent54bb45ac67bf8460b3cf7d6ed232a987b3697dcf (diff)
downloadmediapointer-dvb-s2-f12529f2224df7595de7e73f6b717ef125124f5e.tar.gz
mediapointer-dvb-s2-f12529f2224df7595de7e73f6b717ef125124f5e.tar.bz2
tuner-core: fix warning introduced when cleaning up xc5000 init routine
From: Devin Heitmueller <dheitmueller@kernellabs.com> 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. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Michael Krufky <mkrufky@kernellabs.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tuner-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index cb715f143..85b133df4 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -426,8 +426,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;