Skip to content

Commit

Permalink
ide-disk: remove stale init_idedisk_capacity() documentation
Browse files Browse the repository at this point in the history
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Sep 2, 2008
1 parent bfc2f01 commit ab1b67a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab1b67a

Please sign in to comment.