diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2025-03-28 12:04:08 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-03-28 16:15:43 -0600 |
| commit | 9d7fa99189709b80eb16094aad18f7e492b835de (patch) | |
| tree | e30424e0faa8f16051389937f3063f085d4b40b9 /lib/mpi/mpi-mod.c | |
| parent | dfbce8b798fb848a42706e2e544b78b3db22aaae (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 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
