summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-acpi.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 23:22:41 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 23:22:41 +0100
commit94635d3ecfd478ada7cedcffd9d53709074444fc (patch)
treebeedf643b766b06aa539c6982f21f59c24ce451d /drivers/ide/ide-acpi.c
parentide: remove superfluous check from ide_proc_port_register_devices() (diff)
downloadlinux-94635d3ecfd478ada7cedcffd9d53709074444fc.tar.xz
linux-94635d3ecfd478ada7cedcffd9d53709074444fc.zip
ide-acpi: no need to zero ->acpidata for devices
ide_acpi_init() takes care of it. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/ide/ide-acpi.c2
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)
* 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;