diff options
| author | Ming Lei <[email protected]> | 2025-04-29 02:29:39 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-04-29 12:01:36 +0000 |
| commit | a584b2630b0d31f8a20e4ccb4de370b160177b8a (patch) | |
| tree | 7d1e3bc44f3279780c11ec462ea72f71a380671f /rust/helpers/bug.c | |
| parent | ublk: enhance check for register/unregister io buffer command (diff) | |
| download | kernel-a584b2630b0d31f8a20e4ccb4de370b160177b8a.tar.gz kernel-a584b2630b0d31f8a20e4ccb4de370b160177b8a.zip | |
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 <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions
