linux/drivers/block/null_blk
Damien Le Moal b6402014ca 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>
2023-03-15 06:50:24 -06:00
..
Kconfig
main.c block: null_blk: cleanup null_queue_rq() 2023-03-15 06:50:24 -06:00
Makefile
null_blk.h null_blk: support read-only and offline zone conditions 2022-12-01 14:49:48 -07:00
trace.c
trace.h treewide: Rename enum req_opf into enum req_op 2022-07-14 12:14:30 -06:00
zoned.c null_blk: support read-only and offline zone conditions 2022-12-01 14:49:48 -07:00