i915: remove unused variable
authorJesse Barnes <jbarnes@hobbes.(none)>
Tue, 24 Jun 2008 19:57:21 +0000 (12:57 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Jun 2008 19:57:21 +0000 (12:57 -0700)
Leftover dev_priv from the move of the suspend/resume code into shared-core.

linux-core/i915_drv.c

index c5f806b..a1964f4 100644 (file)
@@ -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))