mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 21:35:04 +08:00
ide: remove incorrect init_gendisk() comment
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
1f2cf8b001
commit
521fd1e8d1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user