drm/i915: remove dead code in ironlake_crtc_mode_set
Subsystems (2)
PATCH 1/1 drm/i915: remove dead code in ironlake_crtc_mode_set
In
Author: Daniel Vetter <[email protected]> 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.
Signed-off-by Daniel Vetter <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -5
@@ -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) {
Signature · 1 line
1.8.4.rc3
Quoted 11 lines · Daniel Vetter
In
Author: Daniel Vetter <[email protected]> Date: Wed Jun 5 13:34:23 2013 +0200drm/i915: consolidate pch pll enable sequence
I've removed all the code from this if block, but somehow forgotten to kill the block itself.
Signed-off-by Daniel Vetter <[email protected]>
Reviewed-by Ville Syrjälä <[email protected]>
Quoted 27 lines
--- drivers/gpu/drm/i915/intel_display.c | 5 ----- 1 file changed, 5 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-5@@ -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) {Signature · 6 lines
1.8.4.rc3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 2 lines
Ville Syrjälä Intel OTC
Daniel Vetter
AppliedQuoted 6 lines · Ville Syrjälä
Quoted 5 lines · Daniel Vetter
In
Author: Daniel Vetter <[email protected]> Date: Wed Jun 5 13:34:23 2013 +0200
Quoted 8 lines
Quoted 6 lines
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.
Signed-off-by Daniel Vetter <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>
Merged, thanks for the review.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch