From a147df879b3b850612222759c14f4142d2406e74 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 19:09:55 +0000 Subject: Remove more gamma DMA infrastructure. Most of this code was copied straight from linux, so it could be added back if some driver needed it in the future. --- bsd/drm_ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd/drm_ioctl.h') diff --git a/bsd/drm_ioctl.h b/bsd/drm_ioctl.h index 1e2771e9..3e4f8908 100644 --- a/bsd/drm_ioctl.h +++ b/bsd/drm_ioctl.h @@ -139,7 +139,7 @@ int DRM(getmap)( DRM_IOCTL_ARGS ) idx = map.offset; DRM_LOCK; - if (idx < 0 || idx >= dev->map_count) { + if (idx < 0) { DRM_UNLOCK; return DRM_ERR(EINVAL); } -- cgit v1.2.3