Remove always false comparison.
Sponsored by: Nginx, Inc.
This commit is contained in:
parent
62b7f85d47
commit
6b17688b56
@ -193,7 +193,7 @@ static int drm_vm_info DRM_SYSCTL_HANDLER_ARGS
|
|||||||
for (i = 0; i < mapcount; i++) {
|
for (i = 0; i < mapcount; i++) {
|
||||||
map = &tempmaps[i];
|
map = &tempmaps[i];
|
||||||
|
|
||||||
if (map->type < 0 || map->type > 4)
|
if (map->type > 4)
|
||||||
type = "??";
|
type = "??";
|
||||||
else
|
else
|
||||||
type = types[map->type];
|
type = types[map->type];
|
||||||
|
Loading…
Reference in New Issue
Block a user