From: Bartlomiej Zolnierkiewicz Date: Tue, 2 Sep 2008 18:18:47 +0000 (+0200) Subject: ide-disk: remove stale init_idedisk_capacity() documentation X-Git-Tag: v2.6.27-rc6~76^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ab1b67a6230648cf65b0342d9887fee890160ca8;p=linux-2.6-omap-h63xx.git ide-disk: remove stale init_idedisk_capacity() documentation Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 68b9cf0138b..07ef88bd109 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c @@ -445,20 +445,6 @@ static void idedisk_check_hpa(ide_drive_t *drive) } } -/* - * Compute drive->capacity, the full capacity of the drive - * Called with drive->id != NULL. - * - * To compute capacity, this uses either of - * - * 1. CHS value set by user (whatever user sets will be trusted) - * 2. LBA value from target drive (require new ATA feature) - * 3. LBA value from system BIOS (new one is OK, old one may break) - * 4. CHS value from system BIOS (traditional style) - * - * in above order (i.e., if value of higher priority is available, - * reset will be ignored). - */ static void init_idedisk_capacity(ide_drive_t *drive) { struct hd_driveid *id = drive->id;