diff options
author | Christoph Hellwig <[email protected]> | 2023-04-13 08:40:47 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-04-13 06:52:30 -0600 |
commit | 53548d2a945eb2c277332c66f57505881392e5a9 (patch) | |
tree | f57142483f2dcc18a60cec7d83ebf271d058882d /drivers/usb/cdns3/cdns3-debug.h | |
parent | a4fa57ffb7671c2df4ce597d03ef9f7d6d905a60 (diff) |
blk-mq: refactor passthrough vs flush handling in blk_mq_insert_request
While both passthrough and flush requests call directly into
blk_mq_request_bypass_insert, the parameters aren't the same.
Split the handling into two separate conditionals and turn the whole
function into an if/elif/elif/else flow instead of the gotos.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions