ide: remove incorrect init_gendisk() comment
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
1f2cf8b001
commit
521fd1e8d1
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue