diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-14 13:11:06 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-15 06:50:24 -0600 |
commit | b6402014cab0481bdfd1ffff3e1dad714e8e1205 (patch) | |
tree | 9874bd2a5b5429c4ed74a26c6a34848577c6880d /MAINTAINERS | |
parent | 63f886597085f346276e3b3c8974de0100d65f32 (diff) |
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