summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-02-27 09:47:54 -0800
committerJens Axboe <axboe@fb.com>2017-03-02 08:56:04 -0700
commit59748398992c9c3e9d600e56cb2a5c0c546fe129 (patch)
tree965f581fe4fe5f7426e50c376ad48f231441b844 /block
parent6d2809d51a5079f01a416d91dd63b0766cb685d0 (diff)
downloadblackbird-op-linux-59748398992c9c3e9d600e56cb2a5c0c546fe129.tar.gz
blackbird-op-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>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq.h10
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)
OpenPOWER on IntegriCloud