]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: remove dead code in ironlake_crtc_mode_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 17 Oct 2013 20:44:31 +0000 (22:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Oct 2013 13:05:35 +0000 (15:05 +0200)
In

Author: Daniel Vetter <daniel.vetter@ffwll.ch>
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 42b1c755d676fbb489ca79f1bf7466d265d6b8da..8905f83166f2cea7d75861fc4a64340cde9cc5b2 100644 (file)
@@ -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) {