ide: remove superfluous ->waiting_for_dma checks
[firefly-linux-kernel-4.4.55.git] / drivers / ide / mips / au1xxx-ide.c
index 11b7f61aae40f7a7d7ec8d29be48cd6c5ec78313..1c95a0ed75048638c61a062799eabe46aecdd20c 100644 (file)
@@ -322,11 +322,7 @@ static int auide_dma_setup(ide_drive_t *drive)
 }
 
 static int auide_dma_test_irq(ide_drive_t *drive)
-{      
-       if (drive->waiting_for_dma == 0)
-               printk(KERN_WARNING "%s: ide_dma_test_irq \
-                                     called while not waiting\n", drive->name);
-
+{
        /* If dbdma didn't execute the STOP command yet, the
         * active bit is still set
         */