diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-05-10 13:23:12 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-14 07:22:35 -0600 |
commit | f6cb9a2c3d2e893a8d493d34ed3e0400fe8afe28 (patch) | |
tree | 7f82ae9d13598cc742354f9e8e923e6c69ec5eba /lib/crypto/mpi/mpi-mod.c | |
parent | 2a6751e052ab4789630bc889c814037068723bc1 (diff) |
nbd: Remove a local variable from nbd_send_cmd()
blk_rq_bytes() returns an unsigned int while 'size' has type unsigned long.
This is confusing. Improve code readability by removing the local variable
'size'.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Josef Bacik <jbacik@fb.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240510202313.25209-5-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions