aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
commit521fd1e8d1d9ee7121e5c792ad4b955043fb5ffd (patch)
treec0275a6f24d42a9bf1a1bc100aca5a75ecdcdeeb /drivers/ide
parent1f2cf8b0014fdfa3141449b508aca25e78c078a7 (diff)
ide: remove incorrect init_gendisk() comment
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide-probe.c6
1 files changed, 0 insertions, 6 deletions
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)
1182 complete(&drive->gendev_rel_comp); 1182 complete(&drive->gendev_rel_comp);
1183} 1183}
1184 1184
1185/*
1186 * init_gendisk() (as opposed to ide_geninit) is called for each major device,
1187 * after probing for drives, to allocate partition tables and other data
1188 * structures needed for the routines in genhd.c. ide_geninit() gets called
1189 * somewhat later, during the partition check.
1190 */
1191static void init_gendisk (ide_hwif_t *hwif) 1185static void init_gendisk (ide_hwif_t *hwif)
1192{ 1186{
1193 unsigned int unit; 1187 unsigned int unit;