i915: remove unused variable
Leftover dev_priv from the move of the suspend/resume code into shared-core.main
parent
893cd01a1d
commit
d726eb2e5e
|
@ -91,8 +91,6 @@ static int i915_suspend(struct drm_device *dev, pm_message_t state)
|
||||||
|
|
||||||
static int i915_resume(struct drm_device *dev)
|
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_set_power_state(dev->pdev, PCI_D0);
|
||||||
pci_restore_state(dev->pdev);
|
pci_restore_state(dev->pdev);
|
||||||
if (pci_enable_device(dev->pdev))
|
if (pci_enable_device(dev->pdev))
|
||||||
|
|
Loading…
Reference in New Issue