From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 17:15:31 +0000 (-0300) Subject: upstream: [media] dib8000: remove a double call for dib8000_get_symbol_duration() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=686e5651447c1475b0cd453d8df04daf64f3d18d;p=platform%2Fkernel%2Flinux-3.10.git 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 --- 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;