[RESEND Patch 0/2] trivial cleanup for get_count_order[_long]

From: Wei Yang
Date: Fri Aug 07 2020 - 04:58:59 EST


The following two patches cleanup get_count_order[_long] a little.

The lib/test_bitops pass with these two patches.

Wei Yang (2):
bitops: simplify get_count_order_long()
bitops: use the same mechanism for get_count_order[_long]

include/linux/bitops.h | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)

--
2.20.1 (Apple Git-117)