block: remove the blk_lookup_devt export
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Mar 2020 07:25:10 +0000 (08:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Mar 2020 13:57:07 +0000 (07:57 -0600)
This function is only used by init/do_mounts.c, which can't be modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c

index 6a60131baffa67a2e581b1fae19551b84eac1269..c5d20a48b4de3518feecc52abe1718d7f33fd0db 100644 (file)
@@ -1487,7 +1487,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)
 {