Skip to content
Commit 1280d4b7 authored by Uladzislau Koshchanka's avatar Uladzislau Koshchanka Committed by Jakub Kicinski
Browse files

lib: packing: replace bit_reverse() with bitrev8()



Remove bit_reverse() function.  Instead use bitrev8() from linux/bitrev.h +
bitshift.  Reduces code-repetition.

Signed-off-by: default avatarUladzislau Koshchanka <koshchanka@gmail.com>
Link: https://lore.kernel.org/r/20221210004423.32332-1-koshchanka@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 93e637a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment