[PATCH 3/8] block: unexport disk_get_part

From: Christoph Hellwig
Date: Wed Mar 25 2020 - 07:06:03 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 e8978df06f35..48ed042d7f26 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -190,7 +190,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