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
This commit is contained in:
parent
6c14193bd0
commit
bb0e1de4ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250334
@ -234,11 +234,9 @@ vm_radix_keydiff(vm_pindex_t index1, vm_pindex_t index2)
|
|||||||
__func__, (uintmax_t)index1));
|
__func__, (uintmax_t)index1));
|
||||||
|
|
||||||
index1 ^= index2;
|
index1 ^= index2;
|
||||||
for (clev = 0; clev <= VM_RADIX_LIMIT ; clev++)
|
for (clev = 0;; clev++)
|
||||||
if (vm_radix_slot(index1, clev))
|
if (vm_radix_slot(index1, clev) != 0)
|
||||||
return (clev);
|
return (clev);
|
||||||
panic("%s: cannot reach this point", __func__);
|
|
||||||
return (0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user