aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-atapi.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2009-01-02 10:12:54 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-01-02 10:12:54 -0500
commit5317464dccd0c03026d60f1e9968de4f9cd23f69 (patch)
tree4ff0d14a1cc9c5fabdcd835140950e2b12d76242 /drivers/ide/ide-atapi.c
parent5d655a03b847fbe5353a8a74bbeb75e18708dca3 (diff)
ide: remove the last ide-scsi remnants
Signed-off-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r--drivers/ide/ide-atapi.c3
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
18static inline int dev_is_idecd(ide_drive_t *drive) 18static 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/*