ide-acpi: no need to zero ->acpidata for devices

ide_acpi_init() takes care of it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2009-03-24 23:22:41 +01:00
parent 1902a253e4
commit 94635d3ecf
1 changed files with 0 additions and 2 deletions

View 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;