summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-25 16:48:37 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-25 09:50:08 -0600
commit572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a (patch)
tree53c054a446af0c542bf96b14217fe99c8a3a4089 /block
parent6005771c17db56b6a9acc12bd084134191560e18 (diff)
downloadlinux-sh-572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a.tar.gz
block: unexport disk_get_part
disk_get_part is not used by any modular code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/genhd.c1
1 files changed, 0 insertions, 1 deletions
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