diff options
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r-- | linux/drm_bufs.h | 3 |
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 ); |