diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:22 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:22 -0400 |
commit | 3c619ffd48d7fdb3b17f0df67c4eb4b0bd80e253 (patch) | |
tree | 59b3d8e1ea637afa1ec4ef465447df982e1c26b0 /drivers/ide/ide-disk.c | |
parent | 3a7d24841ad794ae64c90d7d00d62a83741912aa (diff) |
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>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r-- | drivers/ide/ide-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 83da9a98dabc..d4d730252669 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -472,7 +472,7 @@ static void init_idedisk_capacity(ide_drive_t *drive) | |||
472 | 472 | ||
473 | static sector_t idedisk_capacity(ide_drive_t *drive) | 473 | static sector_t idedisk_capacity(ide_drive_t *drive) |
474 | { | 474 | { |
475 | return drive->capacity64 - drive->sect0; | 475 | return drive->capacity64; |
476 | } | 476 | } |
477 | 477 | ||
478 | #ifdef CONFIG_IDE_PROC_FS | 478 | #ifdef CONFIG_IDE_PROC_FS |