Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94635d3e authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

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



ide_acpi_init() takes care of it.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 1902a253
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;