summaryrefslogtreecommitdiff
path: root/linux-core/drm_bufs.c
diff options
context:
space:
mode:
authorJose Fonseca <jrfonseca@users.sourceforge.net>2003-06-19 00:09:52 +0000
committerJose Fonseca <jrfonseca@users.sourceforge.net>2003-06-19 00:09:52 +0000
commit93522f6d3ad6924cbf413915491e4f8228502d98 (patch)
tree585f12bf357fed6656c6334b9ff9075b8a7514b5 /linux-core/drm_bufs.c
parent0a995b624d325055abf5ba09d39ac8d85866d85a (diff)
Revert the janitorial - that works is now on the new branch
newdrm-0-0-1-branch.
Diffstat (limited to 'linux-core/drm_bufs.c')
-rw-r--r--linux-core/drm_bufs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c
index f42fabef..77573709 100644
--- a/linux-core/drm_bufs.c
+++ b/linux-core/drm_bufs.c
@@ -174,8 +174,6 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
map->mtrr = dev->agp->agp_mtrr; /* for getmap */
break;
#endif
-
-#if __HAVE_SG
case _DRM_SCATTER_GATHER:
if (!dev->sg) {
DRM(free)(map, sizeof(*map), DRM_MEM_MAPS);
@@ -183,7 +181,6 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
}
map->offset += dev->sg->handle;
break;
-#endif
default:
DRM(free)( map, sizeof(*map), DRM_MEM_MAPS );