diff options
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index a049750ced16..1232086d2e1a 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -2855,9 +2855,6 @@ int ide_cdrom_setup (ide_drive_t *drive) | |||
2855 | 2855 | ||
2856 | cd->cd_flags |= IDE_CD_FLAG_MEDIA_CHANGED; | 2856 | cd->cd_flags |= IDE_CD_FLAG_MEDIA_CHANGED; |
2857 | 2857 | ||
2858 | #if NO_DOOR_LOCKING | ||
2859 | cd->cd_flags |= IDE_CD_FLAG_NO_DOORLOCK; | ||
2860 | #endif | ||
2861 | if ((drive->id->config & 0x0060) == 0x20) | 2858 | if ((drive->id->config & 0x0060) == 0x20) |
2862 | cd->cd_flags |= IDE_CD_FLAG_DRQ_INTERRUPT; | 2859 | cd->cd_flags |= IDE_CD_FLAG_DRQ_INTERRUPT; |
2863 | cd->cd_flags |= IDE_CD_FLAG_NO_EJECT; | 2860 | cd->cd_flags |= IDE_CD_FLAG_NO_EJECT; |