commit | 3c619ffd48d7fdb3b17f0df67c4eb4b0bd80e253 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Oct 10 22:39:22 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Oct 10 22:39:22 2008 +0200 |
tree | 59b3d8e1ea637afa1ec4ef465447df982e1c26b0 | |
parent | 3a7d24841ad794ae64c90d7d00d62a83741912aa [diff] [blame] |
ide: remove no longer needed ide_drive_t fields Remove ->remap_0_to_1 and ->sect0 (they are always zero now). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 83da9a9..d4d7302 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c
@@ -472,7 +472,7 @@ static sector_t idedisk_capacity(ide_drive_t *drive) { - return drive->capacity64 - drive->sect0; + return drive->capacity64; } #ifdef CONFIG_IDE_PROC_FS