]> Pileus Git - ~andy/linux/blobdiff - drivers/ide/ide-dma.c
[PPP]: Remove ptr comparisons to 0
[~andy/linux] / drivers / ide / ide-dma.c
index 202d56a8ead20feb8ffb7a57aadf36f43ca75c6a..e3add70b9cd8b29f45156e4ad9b6d4ad2b4d8adc 100644 (file)
@@ -340,7 +340,7 @@ static int config_drive_for_dma (ide_drive_t *drive)
 
        if (drive->media != ide_disk) {
                if (hwif->host_flags & IDE_HFLAG_NO_ATAPI_DMA)
-                       return -1;
+                       return 0;
        }
 
        /*