From: Daniel Vetter Date: Thu, 17 Oct 2013 20:44:31 +0000 (+0200) Subject: drm/i915: remove dead code in ironlake_crtc_mode_set X-Git-Tag: v4.13~8131^2~155^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3c9d87e3acb6d2e5a3c3f42ab42f206cbac13807;p=mirror_ubuntu-bionic-kernel.git drm/i915: remove dead code in ironlake_crtc_mode_set In Author: Daniel Vetter Date: Wed Jun 5 13:34:23 2013 +0200 drm/i915: consolidate pch pll enable sequence I've removed all the code from this if block, but somehow forgotten to kill the block itself. Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 42b1c755d676..8905f83166f2 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -6072,11 +6072,6 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc, else intel_crtc->lowfreq_avail = false; - if (intel_crtc->config.has_pch_encoder) { - pll = intel_crtc_to_shared_dpll(intel_crtc); - - } - intel_set_pipe_timings(intel_crtc); if (intel_crtc->config.has_pch_encoder) {