Date: Sun, 28 Oct 2012 20:03:57 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242268 - head/sys/vm Message-ID: <201210282003.q9SK3vVl088916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210282003.q9SK3vVl088916>