Commit 5ec780a6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: mark blk_mq_init_queue_data static

All driver uses are gone now.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20210624081012.256464-1-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8e60947d
...@@ -3109,7 +3109,7 @@ void blk_mq_release(struct request_queue *q) ...@@ -3109,7 +3109,7 @@ void blk_mq_release(struct request_queue *q)
blk_mq_sysfs_deinit(q); blk_mq_sysfs_deinit(q);
} }
struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set, static struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set,
void *queuedata) void *queuedata)
{ {
struct request_queue *q; struct request_queue *q;
...@@ -3126,7 +3126,6 @@ struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set, ...@@ -3126,7 +3126,6 @@ struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set,
} }
return q; return q;
} }
EXPORT_SYMBOL_GPL(blk_mq_init_queue_data);
struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *set) struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *set)
{ {
......
...@@ -439,8 +439,6 @@ enum { ...@@ -439,8 +439,6 @@ enum {
struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set, struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set,
void *queuedata); void *queuedata);
struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *); struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *);
struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set,
void *queuedata);
int blk_mq_init_allocated_queue(struct blk_mq_tag_set *set, int blk_mq_init_allocated_queue(struct blk_mq_tag_set *set,
struct request_queue *q); struct request_queue *q);
void blk_mq_unregister_dev(struct device *, struct request_queue *); void blk_mq_unregister_dev(struct device *, struct request_queue *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment