From: Christoph Hellwig Date: Wed, 25 Mar 2020 15:48:37 +0000 (+0100) Subject: block: unexport disk_get_part X-Git-Tag: for-5.7/block-2020-03-29~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=572e7fc85b7ac3bfbf4d4ec7d2c6e7ad3507f57a;p=linux-block.git block: unexport disk_get_part disk_get_part is not used by any modular code. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- 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