ide: set/clear drive->waiting_for_dma flag in the core code
[linux-2.6-microblaze.git] / drivers / ide / sc1200.c
index d9c4703..13e3988 100644 (file)
@@ -183,8 +183,6 @@ static int sc1200_dma_end(ide_drive_t *drive)
        outb(dma_stat|0x1b, dma_base+2);        /* clear the INTR & ERROR bits */
        outb(inb(dma_base)&~1, dma_base);       /* !! DO THIS HERE !! stop DMA */
 
-       drive->waiting_for_dma = 0;
-
        return (dma_stat & 7) != 4;             /* verify good DMA status */
 }