svn commit: r242268 - head/sys/vm
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Oct 28 20:03:58 UTC 2012
Author: trasz
Date: Sun Oct 28 20:03:57 2012
New Revision: 242268
URL: http://svn.freebsd.org/changeset/base/242268
Log:
Remove useless check; vm_pindex_t is unsigned on all architectures.
CID: 3701
Found with: Coverity Prevent
Modified:
head/sys/vm/vm_pageout.c
Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c Sun Oct 28 19:58:20 2012 (r242267)
+++ head/sys/vm/vm_pageout.c Sun Oct 28 20:03:57 2012 (r242268)
@@ -1895,7 +1895,7 @@ again:
continue;
size = vmspace_resident_count(vm);
- if (limit >= 0 && size >= limit) {
+ if (size >= limit) {
vm_pageout_map_deactivate_pages(
&vm->vm_map, limit);
}
More information about the svn-src-head
mailing list