summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2832.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-10-12 23:45:34 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-05 15:36:59 -0300
commit5791eee2647ff358e6cb11b2830c62a92e2674c7 (patch)
tree1c2323b2ddabcfd1dbd656c0b4b7473e073fbec2 /drivers/media/dvb-frontends/rtl2832.c
parent94b5fa6c20b7ac916e099b44cc812ac1ec6e5d3e (diff)
downloadlinux-5791eee2647ff358e6cb11b2830c62a92e2674c7.tar.gz
[media] rtl2832: remove unused if_dvbt config parameter
All used tuners has get_if_frequency() callback and that parameter is not needed and will not needed as all upcoming tuner drivers should implement get_if_frequency(). Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.c')
-rw-r--r--drivers/media/dvb-frontends/rtl2832.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c
index ff73da9365e3..61d4ecbfd180 100644
--- a/drivers/media/dvb-frontends/rtl2832.c
+++ b/drivers/media/dvb-frontends/rtl2832.c
@@ -514,12 +514,6 @@ static int rtl2832_init(struct dvb_frontend *fe)
goto err;
}
- if (!fe->ops.tuner_ops.get_if_frequency) {
- ret = rtl2832_set_if(fe, priv->cfg.if_dvbt);
- if (ret)
- goto err;
- }
-
/*
* r820t NIM code does a software reset here at the demod -
* may not be needed, as there's already a software reset at set_params()