diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-24 19:09:55 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-24 19:09:55 +0000 |
commit | a147df879b3b850612222759c14f4142d2406e74 (patch) | |
tree | aea9241e04e3cefbe123228568bbe3b07d41e9eb /bsd-core/drm_ioctl.c | |
parent | d6a82ff9c160acbb7db5bee2cde45818d1e8548e (diff) |
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.
Diffstat (limited to 'bsd-core/drm_ioctl.c')
-rw-r--r-- | bsd-core/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_ioctl.c b/bsd-core/drm_ioctl.c index 1e2771e9..3e4f8908 100644 --- a/bsd-core/drm_ioctl.c +++ b/bsd-core/drm_ioctl.c @@ -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); } |