ide: remove incorrect init_gendisk() comment

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 1f2cf8b0
...@@ -1182,12 +1182,6 @@ static void drive_release_dev (struct device *dev) ...@@ -1182,12 +1182,6 @@ static void drive_release_dev (struct device *dev)
complete(&drive->gendev_rel_comp); 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) static void init_gendisk (ide_hwif_t *hwif)
{ {
unsigned int unit; unsigned int unit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment