summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/stv0910.c
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-11-26 16:00:08 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-13 16:37:34 +0300
commit5dd70f5a6a2dacf501d8b16f714455d3a35b1b11 (patch)
tree01dc91333fa8959ea6341f3b3fb635e926ab45ae /drivers/media/dvb-frontends/stv0910.c
parent0b885ded9c6a9d991d217a8dacca45141cb46825 (diff)
downloadlinux-5dd70f5a6a2dacf501d8b16f714455d3a35b1b11.tar.xz
media: dvb-frontends/stv0910: remove unneeded symbol rate inquiry
tracking_optimization() doesn't make use of the symbol rate reported by the demodulator, so remove the unneeded inquiry and the now unneeded variable. Reported-by: Richard Scobie <rascobie@slingshot.co.nz> Cc: Ralph Metzler <rjkm@metzlerbros.de> Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Tested-by: Richard Scobie <rascobie@slingshot.co.nz> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0910.c')
-rw-r--r--drivers/media/dvb-frontends/stv0910.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c
index 55cddd01f779..681349a5aea8 100644
--- a/drivers/media/dvb-frontends/stv0910.c
+++ b/drivers/media/dvb-frontends/stv0910.c
@@ -533,10 +533,8 @@ static int get_signal_parameters(struct stv *state)
static int tracking_optimization(struct stv *state)
{
- u32 symbol_rate = 0;
u8 tmp;
- get_cur_symbol_rate(state, &symbol_rate);
read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, &tmp);
tmp &= ~0xC0;