Commit 8d4a554d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: dvb_frontend: don't call dvb_frontend_get_stepsize() twice



Avoid calling the function twice, as it was just called at the
previous line.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d6af27c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1821,7 +1821,7 @@ static void prepare_tuning_algo_parameters(struct dvb_frontend *fe)
		case SYS_DTMB:
			fepriv->min_delay = HZ / 20;
			fepriv->step_size = dvb_frontend_get_stepsize(fe) * 2;
			fepriv->max_drift = (dvb_frontend_get_stepsize(fe) * 2) + 1;
			fepriv->max_drift = fepriv->step_size + 1;
			break;
		default:
			/*