]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-dma.c
ide: remove superfluous ->waiting_for_dma checks
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-dma.c
index 1185f5a4c15456596454a53aaacded1b95ad451f..82fa6107434b700f476c2bc5353ab71415b44b76 100644 (file)
@@ -578,9 +578,7 @@ int ide_dma_test_irq(ide_drive_t *drive)
        /* return 1 if INTR asserted */
        if ((dma_stat & 4) == 4)
                return 1;
-       if (!drive->waiting_for_dma)
-               printk(KERN_WARNING "%s: (%s) called while not waiting\n",
-                       drive->name, __func__);
+
        return 0;
 }
 EXPORT_SYMBOL_GPL(ide_dma_test_irq);