diff mbox series

[01/21] block: remove the blk_lookup_devt export

Message ID 20200312151939.645254-2-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [01/21] block: remove the blk_lookup_devt export | expand

Commit Message

Christoph Hellwig March 12, 2020, 3:19 p.m. UTC
This function is only used by init/do_mounts.c, which can't be modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/genhd.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/block/genhd.c b/block/genhd.c
index ff6268970ddc..56e9547870ee 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1463,7 +1463,6 @@  dev_t blk_lookup_devt(const char *name, int partno)
 	class_dev_iter_exit(&iter);
 	return devt;
 }
-EXPORT_SYMBOL(blk_lookup_devt);
 
 struct gendisk *__alloc_disk_node(int minors, int node_id)
 {