diff options
| author | 2025-03-28 12:04:08 -0600 | |
|---|---|---|
| committer | 2025-03-28 16:15:43 -0600 | |
| commit | 9d7fa99189709b80eb16094aad18f7e492b835de (patch) | |
| tree | e30424e0faa8f16051389937f3063f085d4b40b9 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | ublk: remove unused cmd argument to ublk_dispatch_req() (diff) | |
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 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
