]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ppc/pmac.c
ide: remove superfluous ->waiting_for_dma checks
[linux-2.6-omap-h63xx.git] / drivers / ide / ppc / pmac.c
index 0a6d40cebe47d733dd8639365fd37d715759b162..2de22b6fe3bdbd271e5d4b50a1888f18a0aa1750 100644 (file)
@@ -1672,9 +1672,6 @@ pmac_ide_dma_test_irq (ide_drive_t *drive)
        status = readl(&dma->status);
        if (!(status & ACTIVE))
                return 1;
-       if (!drive->waiting_for_dma)
-               printk(KERN_WARNING "ide%d, ide_dma_test_irq \
-                       called while not waiting\n", HWIF(drive)->index);
 
        /* If dbdma didn't execute the STOP command yet, the
         * active bit is still set. We consider that we aren't