提交 5dd70f5a 编写于 作者: D Daniel Scheller 提交者: Mauro Carvalho Chehab

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: NRichard Scobie <rascobie@slingshot.co.nz>
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: NDaniel Scheller <d.scheller@gmx.net>
Tested-by: NRichard Scobie <rascobie@slingshot.co.nz>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 0b885ded
...@@ -533,10 +533,8 @@ static int get_signal_parameters(struct stv *state) ...@@ -533,10 +533,8 @@ static int get_signal_parameters(struct stv *state)
static int tracking_optimization(struct stv *state) static int tracking_optimization(struct stv *state)
{ {
u32 symbol_rate = 0;
u8 tmp; u8 tmp;
get_cur_symbol_rate(state, &symbol_rate);
read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, &tmp); read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, &tmp);
tmp &= ~0xC0; tmp &= ~0xC0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册