From: Mauro Carvalho Chehab Date: Fri, 4 Jul 2014 17:15:31 +0000 (-0300) Subject: [media] dib8000: remove a double call for dib8000_get_symbol_duration() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08623517f4fd6164c61a0c0d73c82e8e136a8b17;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/dib8000.c b/drivers/media/dvb-frontends/dib8000.c index d4f37f569c5c..7fea04762094 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;