diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-08-18 09:35:55 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-18 16:38:10 +0300 |
commit | a8239f0342bae5a51acca967ba95b9a8ad56dd62 (patch) | |
tree | 95923f6bf9531db92e48f08fb673ebd53cdd3a89 /include | |
parent | e6190dd0031d335c22586d34ef898301ed20f230 (diff) | |
download | linux-a8239f0342bae5a51acca967ba95b9a8ad56dd62.tar.xz |
blk-mq: remove unused function blk_mq_queue_stopped()
blk_mq_queue_stopped() doesn't have any caller, which was found by
code coverage test, thus remove it.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20220818063555.3741222-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index effee1dc715a..92294a5fb083 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -857,7 +857,6 @@ void blk_mq_kick_requeue_list(struct request_queue *q); void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs); void blk_mq_complete_request(struct request *rq); bool blk_mq_complete_request_remote(struct request *rq); -bool blk_mq_queue_stopped(struct request_queue *q); void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx); void blk_mq_start_hw_queue(struct blk_mq_hw_ctx *hctx); void blk_mq_stop_hw_queues(struct request_queue *q); |