From: Bartlomiej Zolnierkiewicz Date: Sat, 2 Feb 2008 18:56:40 +0000 (+0100) Subject: ide: remove incorrect init_gendisk() comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=521fd1e8d1d9ee7121e5c792ad4b955043fb5ffd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ide: remove incorrect init_gendisk() comment Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 174c81d8793c..f4baedf7d023 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1182,12 +1182,6 @@ static void drive_release_dev (struct device *dev) complete(&drive->gendev_rel_comp); } -/* - * init_gendisk() (as opposed to ide_geninit) is called for each major device, - * after probing for drives, to allocate partition tables and other data - * structures needed for the routines in genhd.c. ide_geninit() gets called - * somewhat later, during the partition check. - */ static void init_gendisk (ide_hwif_t *hwif) { unsigned int unit;