aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ns87415.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r--drivers/ide/ns87415.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c
index 6e0f372d2f09..cbc1d1110385 100644
--- a/drivers/ide/ns87415.c
+++ b/drivers/ide/ns87415.c
@@ -207,7 +207,6 @@ static int ns87415_dma_end(ide_drive_t *drive)
207 ide_hwif_t *hwif = drive->hwif; 207 ide_hwif_t *hwif = drive->hwif;
208 u8 dma_stat = 0, dma_cmd = 0; 208 u8 dma_stat = 0, dma_cmd = 0;
209 209
210 drive->waiting_for_dma = 0;
211 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); 210 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif);
212 /* get DMA command mode */ 211 /* get DMA command mode */
213 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); 212 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD);