diff options
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r-- | drivers/ide/ide-atapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index 7a04509bf962..d412bd2bd7fd 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c | |||
@@ -17,8 +17,7 @@ | |||
17 | 17 | ||
18 | static inline int dev_is_idecd(ide_drive_t *drive) | 18 | static inline int dev_is_idecd(ide_drive_t *drive) |
19 | { | 19 | { |
20 | return (drive->media == ide_cdrom || drive->media == ide_optical) && | 20 | return drive->media == ide_cdrom || drive->media == ide_optical; |
21 | !(drive->dev_flags & IDE_DFLAG_SCSI); | ||
22 | } | 21 | } |
23 | 22 | ||
24 | /* | 23 | /* |