summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2018-01-17 19:25:58 +0300
committerJens Axboe <axboe@kernel.dk>2018-01-17 19:49:21 +0300
commit9e97d2951a7e6ee6e204f87f6bda4ff754a8cede (patch)
treec62ee3b01f4a0a8379b97d8414bae68ffacb82f0 /block/blk-mq-sched.h
parent396eaf21ee17c476e8f66249fb1f4a39003d0ab4 (diff)
downloadlinux-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.tar.xz
blk-mq-sched: remove unused 'can_block' arg from blk_mq_sched_insert_request
After commit: 923218f6166a ("blk-mq: don't allocate driver tag upfront for flush rq") we no longer use the 'can_block' argument in blk_mq_sched_insert_request(). Kill it. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Added actual commit message as to why it's being removed. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.h')
-rw-r--r--block/blk-mq-sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-sched.h b/block/blk-mq-sched.h
index ba1d1418a96d..1e9c9018ace1 100644
--- a/block/blk-mq-sched.h
+++ b/block/blk-mq-sched.h
@@ -18,7 +18,7 @@ bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq);
void blk_mq_sched_restart(struct blk_mq_hw_ctx *hctx);
void blk_mq_sched_insert_request(struct request *rq, bool at_head,
- bool run_queue, bool async, bool can_block);
+ bool run_queue, bool async);
void blk_mq_sched_insert_requests(struct request_queue *q,
struct blk_mq_ctx *ctx,
struct list_head *list, bool run_queue_async);