Skip to content

Commit

Permalink
ide-acpi: no need to zero ->acpidata for devices
Browse files Browse the repository at this point in the history
ide_acpi_init() takes care of it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 1902a25 commit 94635d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/ide/ide-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 94635d3

Please sign in to comment.