aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-23 16:53:27 -0400
committerDave Airlie <airlied@redhat.com>2010-08-29 19:38:50 -0400
commit793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84 (patch)
tree418e5c4eef9c7566625829ddc823fa36c6a0d65e /drivers/gpu/drm/vmwgfx
parent690bb51b54a986e48c7b8b2dba51a3cd262a7266 (diff)
drm: kill drm_map_ofs callbacks
All drivers happily copy&pasted the default implementation without checking whether this callback is used at all. It's not. Sigh. Kill it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index 72ec2e2b6e97..4a832de43dd5 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -723,7 +723,6 @@ static struct drm_driver driver = {
723 .irq_uninstall = vmw_irq_uninstall, 723 .irq_uninstall = vmw_irq_uninstall,
724 .irq_handler = vmw_irq_handler, 724 .irq_handler = vmw_irq_handler,
725 .reclaim_buffers_locked = NULL, 725 .reclaim_buffers_locked = NULL,
726 .get_map_ofs = drm_core_get_map_ofs,
727 .get_reg_ofs = drm_core_get_reg_ofs, 726 .get_reg_ofs = drm_core_get_reg_ofs,
728 .ioctls = vmw_ioctls, 727 .ioctls = vmw_ioctls,
729 .num_ioctls = DRM_ARRAY_SIZE(vmw_ioctls), 728 .num_ioctls = DRM_ARRAY_SIZE(vmw_ioctls),