bitops: Use non-bitops ctzl

The use of ctz has already eliminated zero, and thus the difference
in edge conditions between the two routines is irrelevant.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Richard Henderson 2013-02-13 17:47:37 -08:00 committed by Blue Swirl
parent 18331e7c18
commit 265ce4a5ca
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ found_first:
return result + size; /* Nope. */
}
found_middle:
return result + bitops_ctzl(tmp);
return result + ctzl(tmp);
}
/*