Skip to contentSkip to conversation

drm/i915: Kill unused variable warning

PATCH In review Ben Widawsky 2 participants 2 messages May 3, 2013 – May 4, 2013

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

PATCH 1/1 drm/i915: Kill unused variable warning

commit b7eab0f52c47c06fc5daa20d40359a97d5d5d3a7

Author: Jesse Barnes <[email protected]>
Date:   Thu May 2 15:30:47 2013 -0700

drm/i915: fix Haswell pfit power well check v2

The above commit got rid of the I915_WRITE making the dev_priv no longer used. Should be squashed if not too late.

---
 drivers/gpu/drm/i915/intel_display.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +0 -1
index 78e8494..c0c4dfc 100644
@@ -5916,7 +5916,6 @@ static bool ironlake_get_pipe_config(struct intel_crtc *crtc,
 
 static void haswell_modeset_global_resources(struct drm_device *dev)
 {
-	struct drm_i915_private *dev_priv = dev->dev_private;
 	bool enable = false;
 	struct intel_crtc *crtc;
 	struct intel_encoder *encoder;
Signature · 1 line
1.8.2.2
#1 lore raw
Quoted 11 lines · Ben Widawsky

commit b7eab0f52c47c06fc5daa20d40359a97d5d5d3a7

Author: Jesse Barnes <[email protected]>
Date:   Thu May 2 15:30:47 2013 -0700

drm/i915: fix Haswell pfit power well check v2

The above commit got rid of the I915_WRITE making the dev_priv no longer used. Should be squashed if not too late.

I've accidentally pushed out -fixes before squashing in the fixup, I think you've been extremely unlucky to catch -nightly in that 5 minute window. Should be fixed now.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch