ide-acpi: no need to zero ->acpidata for devices
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
ide_acpi_init() takes care of it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-acpi.c

index ec7d07fa570a8ab706f06b1ed6c6d506ed86b011..0ac5c786a3161f18a2e8c100071b1a407d9154c1 100644 (file)
@@ -712,8 +712,6 @@ void ide_acpi_port_init_devices(ide_hwif_t *hwif)
         * Send IDENTIFY for each drive
         */
        ide_port_for_each_dev(i, drive, hwif) {
-               memset(drive->acpidata, 0, sizeof(*drive->acpidata));
-
                if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0)
                        continue;