diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-08 16:31:49 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-09 22:46:22 +0300 |
| commit | 4a19d02e0a8cd8799e5d150d8eb74861e1a4cdec (patch) | |
| tree | ac10d94283b6de87e75c619dfe5dfa0c291d077a | |
| parent | b8f7ab1788f23d79084f051bb9ae3cb02b55bff3 (diff) | |
| download | linux-4a19d02e0a8cd8799e5d150d8eb74861e1a4cdec.tar.xz | |
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>
| -rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 5 |
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); } |
