diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-24 10:10:12 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-30 23:34:13 +0200 |
commit | 5ec780a6eddacbbbc1c5d5838753c3ca43f93526 (patch) | |
tree | d95693270dfb83ac527fdbe7a09dc16673875307 /block/blk-mq.c | |
parent | loop: rewrite loop_exit using idr_for_each_entry (diff) | |
download | linux-5ec780a6eddacbbbc1c5d5838753c3ca43f93526.tar.xz linux-5ec780a6eddacbbbc1c5d5838753c3ca43f93526.zip |
block: mark blk_mq_init_queue_data static
All driver uses are gone now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20210624081012.256464-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 2e9fd0ec63d7..2c4ac51e54eb 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -3109,7 +3109,7 @@ void blk_mq_release(struct request_queue *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) { struct request_queue *q; @@ -3126,7 +3126,6 @@ struct request_queue *blk_mq_init_queue_data(struct blk_mq_tag_set *set, } return q; } -EXPORT_SYMBOL_GPL(blk_mq_init_queue_data); struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *set) { |