summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-04-29 05:29:39 +0300
committerJens Axboe <axboe@kernel.dk>2025-04-29 15:01:36 +0300
commita584b2630b0d31f8a20e4ccb4de370b160177b8a (patch)
tree7d1e3bc44f3279780c11ec462ea72f71a380671f /rust/helpers/helpers.c
parent6240f43b29f285a40eebeb789756673af7a7d67c (diff)
downloadlinux-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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions