Remove useless check; vm_pindex_t is unsigned on all architectures.
CID: 3701 Found with: Coverity Prevent
This commit is contained in:
parent
322181c98e
commit
a406d8c319
@ -1895,7 +1895,7 @@ vm_daemon()
|
||||
continue;
|
||||
|
||||
size = vmspace_resident_count(vm);
|
||||
if (limit >= 0 && size >= limit) {
|
||||
if (size >= limit) {
|
||||
vm_pageout_map_deactivate_pages(
|
||||
&vm->vm_map, limit);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user