summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-08 13:31:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-09 19:46:22 +0000
commit4a19d02e0a8cd8799e5d150d8eb74861e1a4cdec (patch)
treeac10d94283b6de87e75c619dfe5dfa0c291d077a /drivers/gpu/drm/i915/i915_drv.c
parentb8f7ab1788f23d79084f051bb9ae3cb02b55bff3 (diff)
drm/i915: driver.suspend and .resume are always set
So we can remove the repeated initialisation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 91a3ad2cf942..ad28b21f4d03 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -700,11 +700,6 @@ static int __init i915_init(void)
driver.driver_features &= ~DRIVER_MODESET;
#endif
- if (!(driver.driver_features & DRIVER_MODESET)) {
- driver.suspend = i915_suspend;
- driver.resume = i915_resume;
- }
-
return drm_init(&driver);
}