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

Commit 14d83b12 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide-cd: no need to zero drive->special.all



Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 4ab3d502
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1886,8 +1886,6 @@ static int ide_cdrom_setup(ide_drive_t *drive)
	if (!drive->queue->unplug_delay)
		drive->queue->unplug_delay = 1;

	drive->special.all	= 0;

	drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT |
		       ide_cd_flags(id);