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); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"