diff options
author | 2025-03-28 12:04:08 -0600 | |
---|---|---|
committer | 2025-03-28 16:15:43 -0600 | |
commit | 9d7fa99189709b80eb16094aad18f7e492b835de (patch) | |
tree | e30424e0faa8f16051389937f3063f085d4b40b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ublk: remove unused cmd argument to ublk_dispatch_req() (diff) | |
download | wireguard-linux-9d7fa99189709b80eb16094aad18f7e492b835de.tar.xz wireguard-linux-9d7fa99189709b80eb16094aad18f7e492b835de.zip |
ublk: skip 1 NULL check in ublk_cmd_list_tw_cb() loop
ublk_cmd_list_tw_cb() is always performed on a non-empty request list.
So don't check whether rq is NULL on the first iteration of the loop,
just on subsequent iterations.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250328180411.2696494-3-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions