diff mbox series

[3/9] block: unexport disk_get_part

Message ID 20200325154843.1349040-4-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/9] block: mark block_depr static | expand

Commit Message

Christoph Hellwig March 25, 2020, 3:48 p.m. UTC
disk_get_part is not used by any modular code.

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 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