From 5920582bdedb741502afe0ab89b58a2568244c8b Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 22 Oct 2009 14:31:29 +0000 Subject: [PATCH] Don't check DMA_ST_ERROR before DMA_ST_INT is set (which is done too) --- drivers/at_wini/at_wini.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 459403056..e8cdebc36 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -2648,9 +2648,6 @@ PRIVATE void ack_irqs(unsigned int irqs) sys_outb(wini[drive].base_dma + DMA_STATUS, DMA_ST_INT); wini[drive].dma_intseen = 1; } - if(w_status & DMA_ST_ERROR) { - printf("at_wini: DMA error\n"); - } if (sys_irqenable(&wini[drive].irq_hook_id) != OK) printf("couldn't re-enable drive %d\n", drive); }