From 686e5651447c1475b0cd453d8df04daf64f3d18d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 14:15:31 -0300 Subject: [PATCH] upstream: [media] dib8000: remove a double call for dib8000_get_symbol_duration() The symbol duration was already obtained at CT_DEMOD_START. No need to do it again at CT_DEMOD_STEP_3. Acked-By: Patrick Boettcher Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=08623517f4fd Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/dib8000.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index d4f37f5..7fea047 100644 --- a/drivers/media/dvb-frontends/dib8000.c +++ b/drivers/media/dvb-frontends/dib8000.c @@ -3154,7 +3154,6 @@ static int dib8000_tune(struct dvb_frontend *fe) break; case CT_DEMOD_STEP_3: /* 33 */ - state->symbol_duration = dib8000_get_symbol_duration(state); dib8000_set_isdbt_loop_params(state, LOOP_TUNE_1); dib8000_set_isdbt_common_channel(state, 0, 0);/* setting the known channel parameters here */ *tune_state = CT_DEMOD_STEP_4; -- 2.7.4