blk-mq: remove confusing comment of blk_mq_sched_dispatch_requests
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 5 Jan 2018 07:09:06 +0000 (00:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:36:33 +0000 (08:36 -0700)
Commit de1482974080
("blk-mq: introduce .get_budget and .put_budget in blk_mq_ops")
changes the function to return bool type, and then commit 1f460b63d4b3
("blk-mq: don't restart queue when .get_budget returns BLK_STS_RESOURCE")
changes it back to void, but the comment remains.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sched.c

index c117bd8fd1f6126849472300b3c294e65825a2f7..2ff7cf0cbf73417264fc5dbe2bb1cec5fb020327 100644 (file)
@@ -172,7 +172,6 @@ static void blk_mq_do_dispatch_ctx(struct blk_mq_hw_ctx *hctx)
        WRITE_ONCE(hctx->dispatch_from, ctx);
 }
 
-/* return true if hw queue need to be run again */
 void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx)
 {
        struct request_queue *q = hctx->queue;