[5/9] block: unexport get_gendisk
diff mbox series

Message ID 20200325154843.1349040-6-hch@lst.de
State New
Headers show
Series
  • [1/9] block: mark block_depr static
Related show

Commit Message

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

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

Patch
diff mbox series

diff --git a/block/genhd.c b/block/genhd.c
index 1e4855c8265a..6323cc789efa 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -980,7 +980,6 @@  struct gendisk *get_gendisk(dev_t devt, int *partno)
 	}
 	return disk;
 }
-EXPORT_SYMBOL(get_gendisk);
 
 /**
  * bdget_disk - do bdget() by gendisk and partition number