aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-09-03 09:58:59 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-09-03 09:58:59 +0000
commit6b17688b561f2884285240b42dd52f1b853d0521 (patch)
tree8676c89301162d058d2862187b1926db49017bdf /sys/dev/drm
parent62b7f85d47499c4f4428771454aab25eaba308a4 (diff)
Notes
Diffstat (limited to 'sys/dev/drm')
-rw-r--r--sys/dev/drm/drm_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_sysctl.c b/sys/dev/drm/drm_sysctl.c
index 75d8306c8405..9e2c49a8e872 100644
--- a/sys/dev/drm/drm_sysctl.c
+++ b/sys/dev/drm/drm_sysctl.c
@@ -193,7 +193,7 @@ static int drm_vm_info DRM_SYSCTL_HANDLER_ARGS
for (i = 0; i < mapcount; i++) {
map = &tempmaps[i];
- if (map->type < 0 || map->type > 4)
+ if (map->type > 4)
type = "??";
else
type = types[map->type];