aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-19 17:30:31 -0500
committerDave Airlie <airlied@linux.ie>2008-12-29 02:47:26 -0500
commitbae7ec657305def791a946f5d791054c48a5f081 (patch)
tree87880af47c8db87eb2689ab77333c4e2ab441adb /drivers/gpu
parentd4da3af667d251cc853d1873a1fad4db6daabf5f (diff)
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.c8
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 b8723b7a75b6..65482cabc94a 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)
1006 master->driver_priv = NULL; 1006 master->driver_priv = NULL;
1007} 1007}
1008 1008
1009
1010static int i915_driver_firstopen(struct drm_device *dev)
1011{
1012 if (drm_core_check_feature(dev, DRIVER_MODESET))
1013 return 0;
1014 return 0;
1015}
1016
1017/** 1009/**
1018 * i915_driver_load - setup chip and create an initial config 1010 * i915_driver_load - setup chip and create an initial config
1019 * @dev: DRM device 1011 * @dev: DRM device