[PATCH 3/9] block: unexport disk_get_part
From: Christoph Hellwig
Date: Wed Mar 25 2020 - 11:49:22 EST
disk_get_part is not used by any modular code.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
block/genhd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/genhd.c b/block/genhd.c
index 5f9df331822a..0ee74b7e01f4 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -217,7 +217,6 @@ struct hd_struct *disk_get_part(struct gendisk *disk, int partno)
return part;
}
-EXPORT_SYMBOL_GPL(disk_get_part);
/**
* disk_part_iter_init - initialize partition iterator
--
2.25.1