aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r--drivers/ide/ide-dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 1185f5a4c154..82fa6107434b 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -578,9 +578,7 @@ int ide_dma_test_irq(ide_drive_t *drive)
578 /* return 1 if INTR asserted */ 578 /* return 1 if INTR asserted */
579 if ((dma_stat & 4) == 4) 579 if ((dma_stat & 4) == 4)
580 return 1; 580 return 1;
581 if (!drive->waiting_for_dma) 581
582 printk(KERN_WARNING "%s: (%s) called while not waiting\n",
583 drive->name, __func__);
584 return 0; 582 return 0;
585} 583}
586EXPORT_SYMBOL_GPL(ide_dma_test_irq); 584EXPORT_SYMBOL_GPL(ide_dma_test_irq);