diff options
Diffstat (limited to 'bsd/drm_ioctl.h')
-rw-r--r-- | bsd/drm_ioctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |