diff options
author | Omar Sandoval <osandov@fb.com> | 2017-02-27 09:47:54 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-02 08:56:04 -0700 |
commit | 59748398992c9c3e9d600e56cb2a5c0c546fe129 (patch) | |
tree | 965f581fe4fe5f7426e50c376ad48f231441b844 | |
parent | 6d2809d51a5079f01a416d91dd63b0766cb685d0 (diff) | |
download | linux-59748398992c9c3e9d600e56cb2a5c0c546fe129.tar.gz linux-59748398992c9c3e9d600e56cb2a5c0c546fe129.tar.bz2 linux-59748398992c9c3e9d600e56cb2a5c0c546fe129.zip |
blk-mq: kill blk_mq_set_alloc_data()
Nothing is using it anymore.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
-rw-r--r-- | block/blk-mq.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index 24b2256186f3..088ced003c13 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -146,16 +146,6 @@ struct blk_mq_alloc_data { struct blk_mq_hw_ctx *hctx; }; -static inline void blk_mq_set_alloc_data(struct blk_mq_alloc_data *data, - struct request_queue *q, unsigned int flags, - struct blk_mq_ctx *ctx, struct blk_mq_hw_ctx *hctx) -{ - data->q = q; - data->flags = flags; - data->ctx = ctx; - data->hctx = hctx; -} - static inline struct blk_mq_tags *blk_mq_tags_from_data(struct blk_mq_alloc_data *data) { if (data->flags & BLK_MQ_REQ_INTERNAL) |