mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
drbd: remove unnecessary assignment in vli_encode_bits
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>
This commit is contained in:
parent
c10bdcf983
commit
069182007d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user