diff options
author | John Garry <[email protected]> | 2021-12-06 20:49:48 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-12-06 13:18:47 -0700 |
commit | 8ab30a331946c34e4ba022c44df8624acea1c74e (patch) | |
tree | dcebc49ca178812b772eafb75c9dcfebba62a24b /include/linux/overflow.h | |
parent | 73f3760eddc9bc32c207fff06537f98f94bef451 (diff) |
blk-mq: Drop busy_iter_fn blk_mq_hw_ctx argument
The only user of blk_mq_hw_ctx blk_mq_hw_ctx argument is
blk_mq_rq_inflight().
Function blk_mq_rq_inflight() uses the hctx to find the associated request
queue to match against the request. However this same check is already
done in caller bt_iter(), so drop this check.
With that change there are no more users of busy_iter_fn blk_mq_hw_ctx
argument, so drop the argument.
Reviewed-by Hannes Reinecke <[email protected]>
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Tested-by: Kashyap Desai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions