Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace is_power_of_2(length) with power2(length). When length != 0, as in this case, they produce the same result. This will allow an implementation of is_power_of_two to be dropped. Reviewed by: alc, markj Differential Revision: https://reviews.freebsd.org/D45536 (cherry picked from commit a94ed493b50752cee09245fc312c63b00331f217)
- Loading branch information