summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-03-28 12:04:10 -0600
committerJens Axboe <axboe@kernel.dk>2025-03-28 16:15:43 -0600
commit108d8aecaeeb52f5fbe98ac94da534954db1da44 (patch)
tree02dfdcb61f443348538d56bf9d148b198cf2b1f8 /tools/perf/scripts/python/export-to-postgresql.py
parent6a87fc437a034e4be2a63d8dfd4d2985c6c574bc (diff)
ublk: avoid redundant io->cmd in ublk_queue_cmd_list()
ublk_queue_cmd_list() loads io->cmd twice. The intervening stores prevent the compiler from combining the loads. Since struct ublk_io *io is only used to compute io->cmd, replace the variable with io->cmd. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://lore.kernel.org/r/20250328180411.2696494-5-csander@purestorage.com 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