diff options
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 11b7f61aae40..1c95a0ed7504 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -322,11 +322,7 @@ static int auide_dma_setup(ide_drive_t *drive) | |||
322 | } | 322 | } |
323 | 323 | ||
324 | static int auide_dma_test_irq(ide_drive_t *drive) | 324 | static int auide_dma_test_irq(ide_drive_t *drive) |
325 | { | 325 | { |
326 | if (drive->waiting_for_dma == 0) | ||
327 | printk(KERN_WARNING "%s: ide_dma_test_irq \ | ||
328 | called while not waiting\n", drive->name); | ||
329 | |||
330 | /* If dbdma didn't execute the STOP command yet, the | 326 | /* If dbdma didn't execute the STOP command yet, the |
331 | * active bit is still set | 327 | * active bit is still set |
332 | */ | 328 | */ |