]> www.infradead.org Git - users/hch/block.git/commitdiff
block: remove a duplicate __disk_get_part prototype
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Nov 2020 18:57:31 +0000 (19:57 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 18:12:59 +0000 (19:12 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/genhd.h

index 46553d6d602563d41d355830291e18ca721ca1a5..22f5b9fd96f8bf2a6628f0f962186c05a5127d7e 100644 (file)
@@ -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)