diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-16 19:15:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-18 19:08:55 +0300 |
commit | e4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5 (patch) | |
tree | 0e2618c1d16e03ddaca34537b5629f389fc2c8cf /block/blk-mq.h | |
parent | 5bbf4e5a8e3a780874b2ed77bd1bd57850f3f6da (diff) | |
download | linux-e4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5.tar.xz |
blk-mq: remove __blk_mq_alloc_request
Move most code into blk_mq_rq_ctx_init, and the rest into
blk_mq_get_request.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r-- | block/blk-mq.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index 6a509a8eb3fb..1a06fdf9fd4d 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -128,12 +128,6 @@ static inline struct blk_mq_tags *blk_mq_tags_from_data(struct blk_mq_alloc_data return data->hctx->tags; } -/* - * Internal helpers for request allocation/init/free - */ -struct request *__blk_mq_alloc_request(struct blk_mq_alloc_data *data, - unsigned int op); - static inline bool blk_mq_hctx_stopped(struct blk_mq_hw_ctx *hctx) { return test_bit(BLK_MQ_S_STOPPED, &hctx->state); |