projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4da3af
)
drm/i915: Delete unused, pointless i915_driver_firstopen.
author
Eric Anholt
<eric@anholt.net>
Fri, 19 Dec 2008 22:30:31 +0000
(14:30 -0800)
committer
Dave Airlie
<airlied@linux.ie>
Mon, 29 Dec 2008 07:47:26 +0000
(17:47 +1000)
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>
drivers/gpu/drm/i915/i915_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_dma.c
b/drivers/gpu/drm/i915/i915_dma.c
index b8723b7a75b66d7c586def3789d8819fc13134ce..65482cabc94a9f5d87ce07a6f020919a479f5455 100644
(file)
--- 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