drm/i915: Silence an innocuous compiler warning for an unused variable
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 15:28:47 +0000 (15:28 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 16:00:30 +0000 (16:00 +0000)
drivers/gpu/drm/i915/i915_irq.c: In function ‘ironlake_irq_postinstall’:
drivers/gpu/drm/i915/i915_irq.c:1618: warning: unused variable ‘pipe’

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_irq.c

index 346dd85cbbd3114b04370214a897df41738870dd..7f1362d7d1e4e15d09f9bc76ddbf3642059de85a 100644 (file)
@@ -1615,7 +1615,6 @@ static int ironlake_irq_postinstall(struct drm_device *dev)
                           DE_PLANEA_FLIP_DONE | DE_PLANEB_FLIP_DONE;
        u32 render_irqs;
        u32 hotplug_mask;
-       int pipe;
 
        dev_priv->irq_mask = ~display_mask;