diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-19 14:30:31 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-29 17:47:26 +1000 |
commit | bae7ec657305def791a946f5d791054c48a5f081 (patch) | |
tree | 87880af47c8db87eb2689ab77333c4e2ab441adb /drivers/gpu | |
parent | d4da3af667d251cc853d1873a1fad4db6daabf5f (diff) | |
download | kernel-crypto-bae7ec657305def791a946f5d791054c48a5f081.tar.gz kernel-crypto-bae7ec657305def791a946f5d791054c48a5f081.tar.xz kernel-crypto-bae7ec657305def791a946f5d791054c48a5f081.zip |
drm/i915: Delete unused, pointless i915_driver_firstopen.
Thanks to Hannes Eder for pointing out that this code was dead according to
sparse.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index b8723b7a75b..65482cabc94 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1006,14 +1006,6 @@ void i915_master_destroy(struct drm_device *dev, struct drm_master *master) master->driver_priv = NULL; } - -static int i915_driver_firstopen(struct drm_device *dev) -{ - if (drm_core_check_feature(dev, DRIVER_MODESET)) - return 0; - return 0; -} - /** * i915_driver_load - setup chip and create an initial config * @dev: DRM device |