blk-mq: remove the blk_mq_hctx_stopped check in blk_mq_run_work_fn
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:06:48 +0000 (08:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:57:18 +0000 (06:57 -0600)
commitc20a1a2c1a9f5b1081121cd18be444e7610b0c6f
tree0103ba7fdcf86c9e8a27b74875c2cc4f1310d75f
parent89ea5ceb53d14f52ecbad8393be47f382c47c37d
blk-mq: remove the blk_mq_hctx_stopped check in blk_mq_run_work_fn

blk_mq_hctx_stopped is already checked in blk_mq_sched_dispatch_requests
under blk_mq_run_dispatch_ops() protection, so remove the duplicate check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413060651.694656-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c