diff options
author | Uladzislau Koshchanka <koshchanka@gmail.com> | 2022-12-10 03:44:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-12 15:06:30 -0800 |
commit | 1280d4b76f3402645aa7075a53f49a3a14be07a8 (patch) | |
tree | 840f4a95bb00cfadae979d48e7da568c6746b694 /drivers/vhost/vhost.h | |
parent | 93e637a37b2872c2fce6ce4df6e59cdc2fe8ca5e (diff) | |
download | linux-1280d4b76f3402645aa7075a53f49a3a14be07a8.tar.bz2 |
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: Uladzislau Koshchanka <koshchanka@gmail.com>
Link: https://lore.kernel.org/r/20221210004423.32332-1-koshchanka@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions