summaryrefslogtreecommitdiff
path: root/linux/drm_bufs.h
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/drm_bufs.h
parent0a995b624d325055abf5ba09d39ac8d85866d85a (diff)
Revert the janitorial - that works is now on the new branch
newdrm-0-0-1-branch.
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r--linux/drm_bufs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index f42fabef..77573709 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -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 );