diff options
author | 2025-03-28 12:04:10 -0600 | |
---|---|---|
committer | 2025-03-28 16:15:43 -0600 | |
commit | 108d8aecaeeb52f5fbe98ac94da534954db1da44 (patch) | |
tree | 02dfdcb61f443348538d56bf9d148b198cf2b1f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ublk: get ubq from pdu in ublk_cmd_list_tw_cb() (diff) | |
download | wireguard-linux-108d8aecaeeb52f5fbe98ac94da534954db1da44.tar.xz wireguard-linux-108d8aecaeeb52f5fbe98ac94da534954db1da44.zip |
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 '')
0 files changed, 0 insertions, 0 deletions