summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
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.c
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.c')
-rw-r--r--block/blk-mq-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c
index 2ff7cf0cbf73..55c0a745b427 100644
--- a/block/blk-mq-sched.c
+++ b/block/blk-mq-sched.c
@@ -427,7 +427,7 @@ done:
}
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)
{
struct request_queue *q = rq->q;
struct elevator_queue *e = q->elevator;