diff options
| author | Damien Le Moal <[email protected]> | 2023-03-14 04:11:06 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-03-15 12:50:24 +0000 |
| commit | b6402014cab0481bdfd1ffff3e1dad714e8e1205 (patch) | |
| tree | 9874bd2a5b5429c4ed74a26c6a34848577c6880d /tools/perf/scripts/python/netdev-times.py | |
| parent | block: null_blk: Fix handling of fake timeout request (diff) | |
| download | kernel-b6402014cab0481bdfd1ffff3e1dad714e8e1205.tar.gz kernel-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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Pankaj Raghav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
