ide: sanitize handling of IDE_HFLAG_NO_SET_MODE host flag
[safe/jmp/linux-2.6] / drivers / ide / ide-dma.c
index aaece2c..8757e5e 100644 (file)
@@ -706,9 +706,6 @@ static int ide_tune_dma(ide_drive_t *drive)
        if (!speed)
                return 0;
 
-       if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
-               return 1;
-
        if (ide_set_dma_mode(drive, speed))
                return 0;