aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:38 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:38 -0400
commitc67c216d810a05fffdbdbdf1b81048f0d4759287 (patch)
treec113338e908962b4d7b23e68d5f70829dd4779d7 /drivers/ide/pci/scc_pata.c
parente4634d4ef04fe6d7b114b612e5b71a84187ce76a (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/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index 9105a39398e2..62fa31409a33 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -509,9 +509,6 @@ static int scc_dma_test_irq(ide_drive_t *drive)
509 if (int_stat & INTSTS_IOIRQS) 509 if (int_stat & INTSTS_IOIRQS)
510 return 1; 510 return 1;
511 511
512 if (!drive->waiting_for_dma)
513 printk(KERN_WARNING "%s: (%s) called while not waiting\n",
514 drive->name, __func__);
515 return 0; 512 return 0;
516} 513}
517 514