summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorMarcos Paulo de Souza2019-07-23 05:27:41 +0200
committerJens Axboe2019-07-23 15:25:09 +0200
commit327fe1d42b83f8a06b33ba30159582b49af5fc8e (patch)
tree1ce168d09aee8975a22e8718d2ef8ea47779d9c2 /block/blk-mq.c
parentbcache: fix possible memory leak in bch_cached_dev_run() (diff)
downloadkernel-qcow2-linux-327fe1d42b83f8a06b33ba30159582b49af5fc8e.tar.gz
kernel-qcow2-linux-327fe1d42b83f8a06b33ba30159582b49af5fc8e.tar.xz
kernel-qcow2-linux-327fe1d42b83f8a06b33ba30159582b49af5fc8e.zip
block: blk-mq: Remove blk_mq_sched_started_request and started_request
blk_mq_sched_completed_request is a function that checks if the elevator related to the request has started_request implemented, but currently, none of the available IO schedulers implement started_request, so remove both. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 2bc2c0705660..f78d3287dd82 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -669,8 +669,6 @@ void blk_mq_start_request(struct request *rq)
{
struct request_queue *q = rq->q;
- blk_mq_sched_started_request(rq);
-
trace_block_rq_issue(q, rq);
if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)) {