From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:41 +0000 (+0100) Subject: ide-acpi: no need to zero ->acpidata for devices X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=94635d3ecfd478ada7cedcffd9d53709074444fc;p=linux-2.6-omap-h63xx.git ide-acpi: no need to zero ->acpidata for devices ide_acpi_init() takes care of it. Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index ec7d07fa570..0ac5c786a31 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) * 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;