Skip to contentSkip to conversation

drm/i915: remove dead code in ironlake_crtc_mode_set

PATCH Applied Daniel Vetter 3 participants 3 messages Oct 18, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/gpu/drm/i915/intel_display.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -5
index 04c3e1b..38892db 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Daniel Vetter

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.

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
index 04c3e1b..38892db 100644
@@ -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
#2 lore raw
Quoted 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.

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