summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2024-05-10 23:23:12 +0300
committerJens Axboe <axboe@kernel.dk>2024-05-14 16:22:35 +0300
commitf6cb9a2c3d2e893a8d493d34ed3e0400fe8afe28 (patch)
tree7f82ae9d13598cc742354f9e8e923e6c69ec5eba /tools/perf/scripts/python/export-to-postgresql.py
parent2a6751e052ab4789630bc889c814037068723bc1 (diff)
downloadlinux-f6cb9a2c3d2e893a8d493d34ed3e0400fe8afe28.tar.xz
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions