Eliminate an unneeded call to vm_radix_trimkey() from vm_radix_lookup_le().

This call is clearing bits from the key that will be set again by the next
line.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Alan Cox 2013-04-28 08:29:00 +00:00
parent 407131907e
commit 82af926a57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250018

View File

@ -666,7 +666,6 @@ restart:
*/
if (slot > 0) {
inc = VM_RADIX_UNITLEVEL(rnode->rn_clev);
index = vm_radix_trimkey(index, rnode->rn_clev);
index |= inc - 1;
do {
index -= inc;