aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 54943da6e4e5..9ab5458fe950 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -468,7 +468,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
468#endif 468#endif
469 469
470 hwif->dma_base = tmp_hwif->dma_base; 470 hwif->dma_base = tmp_hwif->dma_base;
471 hwif->dma_master = tmp_hwif->dma_master;
472 hwif->dma_command = tmp_hwif->dma_command; 471 hwif->dma_command = tmp_hwif->dma_command;
473 hwif->dma_vendor1 = tmp_hwif->dma_vendor1; 472 hwif->dma_vendor1 = tmp_hwif->dma_vendor1;
474 hwif->dma_status = tmp_hwif->dma_status; 473 hwif->dma_status = tmp_hwif->dma_status;
@@ -602,7 +601,6 @@ void ide_unregister(unsigned int index)
602 (void) ide_release_dma(hwif); 601 (void) ide_release_dma(hwif);
603 602
604 hwif->dma_base = 0; 603 hwif->dma_base = 0;
605 hwif->dma_master = 0;
606 hwif->dma_command = 0; 604 hwif->dma_command = 0;
607 hwif->dma_vendor1 = 0; 605 hwif->dma_vendor1 = 0;
608 hwif->dma_status = 0; 606 hwif->dma_status = 0;