diff options
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r-- | drivers/ide/ns87415.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c index 9039a373020f..9ad71a74f93f 100644 --- a/drivers/ide/ns87415.c +++ b/drivers/ide/ns87415.c | |||
@@ -210,8 +210,6 @@ static int ns87415_dma_end(ide_drive_t *drive) | |||
210 | /* from ERRATA: clear the INTR & ERROR bits */ | 210 | /* from ERRATA: clear the INTR & ERROR bits */ |
211 | dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); | 211 | dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); |
212 | outb(dma_cmd | 6, hwif->dma_base + ATA_DMA_CMD); | 212 | outb(dma_cmd | 6, hwif->dma_base + ATA_DMA_CMD); |
213 | /* and free any DMA resources */ | ||
214 | ide_destroy_dmatable(drive); | ||
215 | /* verify good DMA status */ | 213 | /* verify good DMA status */ |
216 | return (dma_stat & 7) != 4; | 214 | return (dma_stat & 7) != 4; |
217 | } | 215 | } |