svn commit: r250334 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Tue May 7 18:45:34 UTC 2013
Author: alc
Date: Tue May 7 18:45:34 2013
New Revision: 250334
URL: http://svnweb.freebsd.org/changeset/base/250334
Log:
Remove a redundant call to panic() from vm_radix_keydiff(). The assertion
before the loop accomplishes the same thing.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/vm/vm_radix.c
Modified: head/sys/vm/vm_radix.c
==============================================================================
--- head/sys/vm/vm_radix.c Tue May 7 18:08:49 2013 (r250333)
+++ head/sys/vm/vm_radix.c Tue May 7 18:45:34 2013 (r250334)
@@ -234,11 +234,9 @@ vm_radix_keydiff(vm_pindex_t index1, vm_
__func__, (uintmax_t)index1));
index1 ^= index2;
- for (clev = 0; clev <= VM_RADIX_LIMIT ; clev++)
- if (vm_radix_slot(index1, clev))
+ for (clev = 0;; clev++)
+ if (vm_radix_slot(index1, clev) != 0)
return (clev);
- panic("%s: cannot reach this point", __func__);
- return (0);
}
/*
More information about the svn-src-head
mailing list