diff options
Diffstat (limited to 'drivers/ide/ide-acpi.c')
-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 | ||