diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:41 -0400 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:41 -0400 |
| commit | 94635d3ecfd478ada7cedcffd9d53709074444fc (patch) | |
| tree | beedf643b766b06aa539c6982f21f59c24ce451d | |
| parent | 1902a253e4b14378405de761cb444dfeef15e500 (diff) | |
ide-acpi: no need to zero ->acpidata for devices
ide_acpi_init() takes care of it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
| -rw-r--r-- | drivers/ide/ide-acpi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index ec7d07fa570a..0ac5c786a316 100644 --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c | |||
| @@ -712,8 +712,6 @@ void ide_acpi_port_init_devices(ide_hwif_t *hwif) | |||
| 712 | * Send IDENTIFY for each drive | 712 | * Send IDENTIFY for each drive |
| 713 | */ | 713 | */ |
| 714 | ide_port_for_each_dev(i, drive, hwif) { | 714 | ide_port_for_each_dev(i, drive, hwif) { |
| 715 | memset(drive->acpidata, 0, sizeof(*drive->acpidata)); | ||
| 716 | |||
| 717 | if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0) | 715 | if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0) |
| 718 | continue; | 716 | continue; |
| 719 | 717 | ||
