diff options
author | Alan Cox <alc@FreeBSD.org> | 2013-05-07 18:45:34 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2013-05-07 18:45:34 +0000 |
commit | bb0e1de4aba6cb441ee3ea68430e9d4b458aec76 (patch) | |
tree | 9c28cf3253cc3bf147c8b4836ef0d707cdf9acd1 | |
parent | 6c14193bd0ddd3aebdf229645d3c3e55a4891164 (diff) | |
download | src-test2-bb0e1de4aba6cb441ee3ea68430e9d4b458aec76.tar.gz src-test2-bb0e1de4aba6cb441ee3ea68430e9d4b458aec76.zip |
Notes
-rw-r--r-- | sys/vm/vm_radix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/vm/vm_radix.c b/sys/vm/vm_radix.c index 9f3b0cd8874b..c9710de13711 100644 --- a/sys/vm/vm_radix.c +++ b/sys/vm/vm_radix.c @@ -234,11 +234,9 @@ vm_radix_keydiff(vm_pindex_t index1, vm_pindex_t index2) __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); } /* |