summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 09:06:47 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-13 15:57:18 +0300
commit89ea5ceb53d14f52ecbad8393be47f382c47c37d (patch)
tree1c95c5ce7fc34eff89bd471d89ccfb2c081fc41d /scripts/gdb/linux/utils.py
parentb12e5c6c755ae8bec44723f77f037873e3d08021 (diff)
downloadlinux-89ea5ceb53d14f52ecbad8393be47f382c47c37d.tar.xz
blk-mq: cleanup __blk_mq_sched_dispatch_requests
__blk_mq_sched_dispatch_requests currently has duplicated logic for the cases where requests are on the hctx dispatch list or not. Merge the two with a new need_dispatch variable and remove a few pointless local variables. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230413060651.694656-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions