forked from Minki/linux
ide-cd: no need to zero drive->special.all
Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
4ab3d50224
commit
14d83b12c9
@ -1886,8 +1886,6 @@ static int ide_cdrom_setup(ide_drive_t *drive)
|
|||||||
if (!drive->queue->unplug_delay)
|
if (!drive->queue->unplug_delay)
|
||||||
drive->queue->unplug_delay = 1;
|
drive->queue->unplug_delay = 1;
|
||||||
|
|
||||||
drive->special.all = 0;
|
|
||||||
|
|
||||||
drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT |
|
drive->atapi_flags = IDE_AFLAG_MEDIA_CHANGED | IDE_AFLAG_NO_EJECT |
|
||||||
ide_cd_flags(id);
|
ide_cd_flags(id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user