summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.(none)>2008-06-24 12:57:21 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-24 12:57:21 -0700
commitd726eb2e5e192f22e41e399d9133edcd7202f0c5 (patch)
tree201dee6d162ff12f0ff886c08950b28c6b7aca45
parent893cd01a1d6bed9740e9bfccde07f41ee401f898 (diff)
i915: remove unused variable
Leftover dev_priv from the move of the suspend/resume code into shared-core.
-rw-r--r--linux-core/i915_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index c5f806b1..a1964f40 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -91,8 +91,6 @@ static int i915_suspend(struct drm_device *dev, pm_message_t state)
static int i915_resume(struct drm_device *dev)
{
- struct drm_i915_private *dev_priv = dev->dev_private;
-
pci_set_power_state(dev->pdev, PCI_D0);
pci_restore_state(dev->pdev);
if (pci_enable_device(dev->pdev))