diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-04-29 05:29:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-04-29 15:01:36 +0300 |
commit | a584b2630b0d31f8a20e4ccb4de370b160177b8a (patch) | |
tree | 7d1e3bc44f3279780c11ec462ea72f71a380671f /lib/mpi/mpi-sub-ui.c | |
parent | 6240f43b29f285a40eebeb789756673af7a7d67c (diff) | |
download | linux-a584b2630b0d31f8a20e4ccb4de370b160177b8a.tar.xz |
ublk: remove the check of ublk_need_req_ref() from __ublk_check_and_get_req
__ublk_check_and_get_req() is only called from ublk_check_and_get_req()
and ublk_register_io_buf(), the same check has been covered in the two
calling sites.
So remove the check from __ublk_check_and_get_req().
Suggested-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250429022941.1718671-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions