提交 14d83b12 编写于 作者: B Bartlomiej Zolnierkiewicz

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

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 4ab3d502
...@@ -1886,8 +1886,6 @@ static int ide_cdrom_setup(ide_drive_t *drive) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册