Skip to content
Commit 40467282 authored by Jinlong Chen's avatar Jinlong Chen Committed by Jens Axboe
Browse files

blk-mq: use if-else instead of goto in blk_mq_alloc_cached_request()



if-else is more readable than goto here.

Signed-off-by: default avatarJinlong Chen <nickyc975@zju.edu.cn>
Link: https://lore.kernel.org/r/d3306fa4e92dc9cc614edc8f1802686096bafef2.1667356813.git.nickyc975@zju.edu.cn
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 7edfd681
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment