diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 11:25:58 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-17 09:49:21 -0700 |
commit | 9e97d2951a7e6ee6e204f87f6bda4ff754a8cede (patch) | |
tree | c62ee3b01f4a0a8379b97d8414bae68ffacb82f0 /block/blk-mq-sched.c | |
parent | 396eaf21ee17c476e8f66249fb1f4a39003d0ab4 (diff) | |
download | linux-stable-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.tar.gz linux-stable-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.tar.bz2 linux-stable-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.zip |
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.c | 2 |
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; |