summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2018-01-05 00:09:06 -0700
committerJens Axboe <axboe@kernel.dk>2018-01-05 08:36:33 -0700
commit913a9500b94566351e8f920e7f2501c8124205b1 (patch)
tree5d435d35470365626a71b22fa6fabe4ea8de727c /block/blk-mq-sched.c
parent4e5dff41be7b5201c1c47ceb3a2a8d698516bc2b (diff)
downloadlinux-0-day-913a9500b94566351e8f920e7f2501c8124205b1.tar.gz
linux-0-day-913a9500b94566351e8f920e7f2501c8124205b1.tar.xz
blk-mq: remove confusing comment of blk_mq_sched_dispatch_requests
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>
Diffstat (limited to 'block/blk-mq-sched.c')
-rw-r--r--block/blk-mq-sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c
index c117bd8fd1f61..2ff7cf0cbf734 100644
--- a/block/blk-mq-sched.c
+++ b/block/blk-mq-sched.c
@@ -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;