aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/sgiioc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/sgiioc4.c')
-rw-r--r--drivers/ide/sgiioc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/sgiioc4.c b/drivers/ide/sgiioc4.c
index 44df0c750bab..457a762a1f29 100644
--- a/drivers/ide/sgiioc4.c
+++ b/drivers/ide/sgiioc4.c
@@ -259,7 +259,6 @@ static int sgiioc4_dma_end(ide_drive_t *drive)
259 } 259 }
260 260
261 drive->waiting_for_dma = 0; 261 drive->waiting_for_dma = 0;
262 ide_destroy_dmatable(drive);
263 262
264 return dma_stat; 263 return dma_stat;
265} 264}
@@ -284,6 +283,7 @@ static void
284sgiioc4_resetproc(ide_drive_t * drive) 283sgiioc4_resetproc(ide_drive_t * drive)
285{ 284{
286 sgiioc4_dma_end(drive); 285 sgiioc4_dma_end(drive);
286 ide_destroy_dmatable(drive);
287 sgiioc4_clearirq(drive); 287 sgiioc4_clearirq(drive);
288} 288}
289 289