aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGravatar Damien Le Moal <damien.lemoal@opensource.wdc.com> 2023-03-14 13:11:06 +0900
committerGravatar Jens Axboe <axboe@kernel.dk> 2023-03-15 06:50:24 -0600
commitb6402014cab0481bdfd1ffff3e1dad714e8e1205 (patch)
tree9874bd2a5b5429c4ed74a26c6a34848577c6880d /ipc
parentblock: null_blk: Fix handling of fake timeout request (diff)
downloadlinux-b6402014cab0481bdfd1ffff3e1dad714e8e1205.tar.gz
linux-b6402014cab0481bdfd1ffff3e1dad714e8e1205.tar.bz2
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 'ipc')
0 files changed, 0 insertions, 0 deletions