Remove always false comparison.

Sponsored by:	Nginx, Inc.
This commit is contained in:
Gleb Smirnoff 2014-09-03 09:58:59 +00:00
parent 62b7f85d47
commit 6b17688b56

View File

@ -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];