diff options
author | Bart Van Assche <[email protected]> | 2024-05-10 13:23:12 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-14 07:22:35 -0600 |
commit | f6cb9a2c3d2e893a8d493d34ed3e0400fe8afe28 (patch) | |
tree | 7f82ae9d13598cc742354f9e8e923e6c69ec5eba /tools/perf/scripts/python/export-to-sqlite.py | |
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 <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Yu Kuai <[email protected]>
Cc: Markus Pargmann <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions