]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
block: unexport disk_get_part
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Mar 2020 15:48:37 +0000 (16:48 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Mar 2020 15:50:08 +0000 (09:50 -0600)
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>
block/genhd.c

index 5f9df331822a047b13069b01755b3508cf52f77c..0ee74b7e01f46aaf4596bd8da88c48ff383f4e37 100644 (file)
@@ -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