All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: mark blk_mq_init_queue_data static
@ 2021-06-24  8:10 Christoph Hellwig
  2021-06-24 14:12 ` Bart Van Assche
  2021-06-24 15:36 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Hellwig @ 2021-06-24  8:10 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

All driver uses are gone now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/blk-mq.c         | 3 +--
 include/linux/blk-mq.h | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/block/blk-mq.c b/block/blk-mq.c
index 3115ea2d0990..12abff5eb63e 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -3112,7 +3112,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;
@@ -3129,7 +3129,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)
 {
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index fd2de2b422ed..1d18447ebebc 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -439,8 +439,6 @@ enum {
 struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set,
 		void *queuedata);
 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,
 		struct request_queue *q);
 void blk_mq_unregister_dev(struct device *, struct request_queue *);
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: mark blk_mq_init_queue_data static
  2021-06-24  8:10 [PATCH] block: mark blk_mq_init_queue_data static Christoph Hellwig
@ 2021-06-24 14:12 ` Bart Van Assche
  2021-06-24 15:36 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Van Assche @ 2021-06-24 14:12 UTC (permalink / raw)
  To: Christoph Hellwig, axboe; +Cc: linux-block

On 6/24/21 1:10 AM, Christoph Hellwig wrote:
> All driver uses are gone now.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: mark blk_mq_init_queue_data static
  2021-06-24  8:10 [PATCH] block: mark blk_mq_init_queue_data static Christoph Hellwig
  2021-06-24 14:12 ` Bart Van Assche
@ 2021-06-24 15:36 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2021-06-24 15:36 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-block

On 6/24/21 2:10 AM, Christoph Hellwig wrote:
> All driver uses are gone now.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-24 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24  8:10 [PATCH] block: mark blk_mq_init_queue_data static Christoph Hellwig
2021-06-24 14:12 ` Bart Van Assche
2021-06-24 15:36 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.