diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-04-21 01:25:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-21 01:28:30 +0200 |
commit | 246665db3bcdb36dbba91a64b1e560dcf948a994 (patch) | |
tree | af96a5495ea54d7bd0a63bc4b7e171f275660688 /block/blk-mq-sched.h | |
parent | blk-mq: add might_sleep check to blk_mq_get_driver_tag() (diff) | |
download | linux-246665db3bcdb36dbba91a64b1e560dcf948a994.tar.xz linux-246665db3bcdb36dbba91a64b1e560dcf948a994.zip |
blk-mq: Remove blk_mq_sched_move_to_dispatch()
commit c13660a08c8b ("blk-mq-sched: change ->dispatch_requests()
to ->dispatch_request()") removed the last user of this function.
Hence also remove the function itself.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-sched.h')
-rw-r--r-- | block/blk-mq-sched.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-mq-sched.h b/block/blk-mq-sched.h index 120c6abc37cc..edafb5383b7b 100644 --- a/block/blk-mq-sched.h +++ b/block/blk-mq-sched.h @@ -24,9 +24,6 @@ void blk_mq_sched_insert_requests(struct request_queue *q, struct list_head *list, bool run_queue_async); void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx); -void blk_mq_sched_move_to_dispatch(struct blk_mq_hw_ctx *hctx, - struct list_head *rq_list, - struct request *(*get_rq)(struct blk_mq_hw_ctx *)); int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e); void blk_mq_exit_sched(struct request_queue *q, struct elevator_queue *e); |