summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChris Wilson2011-03-01 16:28:47 +0100
committerChris Wilson2011-03-01 17:00:30 +0100
commit5d9faa16a73f3317177ec42d5b5d826947458eb9 (patch)
treeb8952529320d0951d350ef7b3e03ebadd653c6ee /drivers/gpu
parentdrm/i915: Use a symbolic constant for OpRegion lid state (diff)
downloadkernel-qcow2-linux-5d9faa16a73f3317177ec42d5b5d826947458eb9.tar.gz
kernel-qcow2-linux-5d9faa16a73f3317177ec42d5b5d826947458eb9.tar.xz
kernel-qcow2-linux-5d9faa16a73f3317177ec42d5b5d826947458eb9.zip
drm/i915: Silence an innocuous compiler warning for an unused variable
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 346dd85cbbd3..7f1362d7d1e4 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -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;