diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:41 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:41 +0100 |
commit | 94635d3ecfd478ada7cedcffd9d53709074444fc (patch) | |
tree | beedf643b766b06aa539c6982f21f59c24ce451d /drivers | |
parent | 1902a253e4b14378405de761cb444dfeef15e500 (diff) | |
download | op-kernel-dev-94635d3ecfd478ada7cedcffd9d53709074444fc.zip op-kernel-dev-94635d3ecfd478ada7cedcffd9d53709074444fc.tar.gz |
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 'drivers')
-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 ec7d07f..0ac5c78 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; |