Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43b0ac53 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Daniel Vetter
Browse files

drm/i915: Eliminate one indent leel from vlv_find_best_dpll



Use 'continue' to get rid of one indent level in vlv_find_best_dpll()

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 24eb2d59
Loading
Loading
Loading
Loading
+21 −19
Original line number Diff line number Diff line
@@ -699,7 +699,10 @@ vlv_find_best_dpll(const intel_limit_t *limit, struct drm_crtc *crtc,
					       refclk) / (2*refclk));
					m = m1 * m2;
					vco = updrate * m;
					if (vco >= limit->vco.min && vco < limit->vco.max) {

					if (vco < limit->vco.min || vco >= limit->vco.max)
						continue;

					ppm = 1000000 * ((vco / p) - fastclk) / fastclk;
					absppm = (ppm > 0) ? ppm : (-ppm);
					if (absppm < 100 && ((p1 * p2) > (bestp1 * bestp2))) {
@@ -722,7 +725,6 @@ vlv_find_best_dpll(const intel_limit_t *limit, struct drm_crtc *crtc,
			}
		}
	}
	}
	best_clock->n = bestn;
	best_clock->m1 = bestm1;
	best_clock->m2 = bestm2;