diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-09-07 10:36:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-08 04:11:15 +0200 |
commit | ddfb8b0beda1c371a44897c0359adccf030f7c58 (patch) | |
tree | 242f7928449a204e0d94ba9c5349dc7312f96b4b /block/blk-mq-sched.h | |
parent | block: Do not discard buffers under a mounted filesystem (diff) | |
download | linux-ddfb8b0beda1c371a44897c0359adccf030f7c58.tar.xz linux-ddfb8b0beda1c371a44897c0359adccf030f7c58.zip |
block: Remove unused blk_mq_sched_free_hctx_data()
Now we usually free the hctx->sched_data by e->type->ops.exit_hctx(),
and no users will use blk_mq_sched_free_hctx_data() function.
Remove it.
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 126021fc3a11..fe62e7ce0f9e 100644 --- a/block/blk-mq-sched.h +++ b/block/blk-mq-sched.h @@ -5,9 +5,6 @@ #include "blk-mq.h" #include "blk-mq-tag.h" -void blk_mq_sched_free_hctx_data(struct request_queue *q, - void (*exit)(struct blk_mq_hw_ctx *)); - void blk_mq_sched_assign_ioc(struct request *rq); void blk_mq_sched_request_inserted(struct request *rq); |