]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] dib8000: remove a double call for dib8000_get_symbol_duration()
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 17:15:31 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Jul 2014 12:56:13 +0000 (09:56 -0300)
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 <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c

index d4f37f569c5cacd8e47929dc6fcb1829f76198a2..7fea04762094b5dae013d9f77e93260f676bfdf0 100644 (file)
@@ -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;