summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-16 18:15:27 +0200
committerJens Axboe <axboe@kernel.dk>2017-06-18 10:08:55 -0600
commite4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5 (patch)
tree0e2618c1d16e03ddaca34537b5629f389fc2c8cf /block/blk-mq.h
parent5bbf4e5a8e3a780874b2ed77bd1bd57850f3f6da (diff)
downloadlinux-e4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5.tar.gz
linux-e4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5.tar.bz2
linux-e4cdf1a1cb161a648cc1ed7d6148fc3b99a1b3f5.zip
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.h6
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);