From d726eb2e5e192f22e41e399d9133edcd7202f0c5 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 24 Jun 2008 12:57:21 -0700 Subject: [PATCH] i915: remove unused variable Leftover dev_priv from the move of the suspend/resume code into shared-core. --- linux-core/i915_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c index c5f806b..a1964f4 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)) -- 2.7.4