summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_drv.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-09-06 15:02:50 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-09-06 15:02:50 +0000
commitee2514d51bf44a0c8102c133b8861edd08c24f5f (patch)
tree546411d95c359b9eacdcde7acd5b28ca5e786689 /sys/dev/pci/drm/i915_drv.c
parent9865e9627fe7184fc0a2c9d270bf42b9ab6b783f (diff)
Fix previous.
*sigh* Remove one assertion before you commit, then build fails with an unused variable warning. That'll teach me.
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.c')
-rw-r--r--sys/dev/pci/drm/i915_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index 4cd513714b2..88d87ee7bf6 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -3880,7 +3880,6 @@ i915_gem_evict_inactive(struct inteldrm_softc *dev_priv, int interruptible)
void
inteldrm_quiesce(struct inteldrm_softc *dev_priv)
{
- struct drm_device *dev = (struct drm_device *)dev_priv->drmdev;
/*
* Right now we depend on X vt switching, so we should be
* already suspended, but fallbacks may fault, etc.