projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10bdcf
)
drbd: remove unnecessary assignment in vli_encode_bits
author
Christoph Böhmwalder
<christoph.boehmwalder@linbit.com>
Fri, 13 Jan 2023 12:35:34 +0000
(13:35 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:33 +0000
(15:18 -0700)
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Reviewed-by: Joel Colledge <joel.colledge@linbit.com>
Link:
https://lore.kernel.org/r/20230113123538.144276-5-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_vli.h
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_vli.h
b/drivers/block/drbd/drbd_vli.h
index 1ee81e3c215245c4ebf3b98740240bfe6dfdfa2f..941c511cc4da3642ce2d77ae071ccc8f212b1040 100644
(file)
--- a/
drivers/block/drbd/drbd_vli.h
+++ b/
drivers/block/drbd/drbd_vli.h
@@
-327,7
+327,7
@@
static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits)
*/
static inline int vli_encode_bits(struct bitstream *bs, u64 in)
{
- u64 code
= code
;
+ u64 code;
int bits = __vli_encode_bits(&code, in);
if (bits <= 0)