diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-14 05:11:06 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-15 13:50:24 +0100 |
commit | b6402014cab0481bdfd1ffff3e1dad714e8e1205 (patch) | |
tree | 9874bd2a5b5429c4ed74a26c6a34848577c6880d /MAINTAINERS | |
parent | block: null_blk: Fix handling of fake timeout request (diff) | |
download | linux-b6402014cab0481bdfd1ffff3e1dad714e8e1205.tar.xz linux-b6402014cab0481bdfd1ffff3e1dad714e8e1205.zip |
block: null_blk: cleanup null_queue_rq()
Use a local struct request pointer variable to avoid having to
dereference struct blk_mq_queue_data multiple times. While at it, also
fix the function argument indentation and remove a useless "else" after
a return.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Link: https://lore.kernel.org/r/20230314041106.19173-2-damien.lemoal@opensource.wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions