diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2019-07-23 00:27:41 -0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-23 07:25:09 -0600 |
commit | 327fe1d42b83f8a06b33ba30159582b49af5fc8e (patch) | |
tree | 1ce168d09aee8975a22e8718d2ef8ea47779d9c2 /include | |
parent | 5d9e06d60eee95e021ffccf0d2c7ed800ae9dc14 (diff) | |
download | linux-327fe1d42b83f8a06b33ba30159582b49af5fc8e.tar.bz2 |
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 'include')
-rw-r--r-- | include/linux/elevator.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 17cd0078377c..1dd014c9c87b 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -45,7 +45,6 @@ struct elevator_mq_ops { struct request *(*dispatch_request)(struct blk_mq_hw_ctx *); bool (*has_work)(struct blk_mq_hw_ctx *); void (*completed_request)(struct request *, u64); - void (*started_request)(struct request *); void (*requeue_request)(struct request *); struct request *(*former_request)(struct request_queue *, struct request *); struct request *(*next_request)(struct request_queue *, struct request *); |