diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:38 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:38 -0400 |
commit | c67c216d810a05fffdbdbdf1b81048f0d4759287 (patch) | |
tree | c113338e908962b4d7b23e68d5f70829dd4779d7 /drivers/ide/ppc | |
parent | e4634d4ef04fe6d7b114b612e5b71a84187ce76a (diff) |
ide: remove superfluous ->waiting_for_dma checks
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 0a6d40cebe47..2de22b6fe3bd 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1672,9 +1672,6 @@ pmac_ide_dma_test_irq (ide_drive_t *drive) | |||
1672 | status = readl(&dma->status); | 1672 | status = readl(&dma->status); |
1673 | if (!(status & ACTIVE)) | 1673 | if (!(status & ACTIVE)) |
1674 | return 1; | 1674 | return 1; |
1675 | if (!drive->waiting_for_dma) | ||
1676 | printk(KERN_WARNING "ide%d, ide_dma_test_irq \ | ||
1677 | called while not waiting\n", HWIF(drive)->index); | ||
1678 | 1675 | ||
1679 | /* If dbdma didn't execute the STOP command yet, the | 1676 | /* If dbdma didn't execute the STOP command yet, the |
1680 | * active bit is still set. We consider that we aren't | 1677 | * active bit is still set. We consider that we aren't |