From: Christoph Hellwig Date: Fri, 27 Nov 2020 15:21:52 +0000 (+0100) Subject: block: remove a duplicate __disk_get_part prototype X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b601d148a16ea16dfbaf3600be35ee175847a09b;p=linux.git block: remove a duplicate __disk_get_part prototype Signed-off-by: Christoph Hellwig Acked-by: Tejun Heo Reviewed-by: Jan Kara Reviewed-by: Greg Kroah-Hartman Reviewed-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn Signed-off-by: Jens Axboe --- diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 46553d6d60256..22f5b9fd96f8b 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -250,7 +250,6 @@ static inline dev_t part_devt(struct hd_struct *part) return part_to_dev(part)->devt; } -extern struct hd_struct *__disk_get_part(struct gendisk *disk, int partno); extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno); static inline void disk_put_part(struct hd_struct *part)