diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 21:39:37 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 21:39:37 +0200 |
commit | e4634d4ef04fe6d7b114b612e5b71a84187ce76a (patch) | |
tree | 5dee4fbce3bfd0d44d21a469040a3eb912fdfde3 /drivers/ide/ide-dma.c | |
parent | 0ae4b3199ab1b6d511c6e0948e92049c272a346a (diff) | |
download | op-kernel-dev-e4634d4ef04fe6d7b114b612e5b71a84187ce76a.zip op-kernel-dev-e4634d4ef04fe6d7b114b612e5b71a84187ce76a.tar.gz |
ide: remove superfluous ->dma field from ide_hwif_t
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r-- | drivers/ide/ide-dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index 2dacd80..1185f5a 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c @@ -525,7 +525,6 @@ void ide_dma_start(ide_drive_t *drive) outb(dma_cmd | 1, hwif->dma_base + ATA_DMA_CMD); } - hwif->dma = 1; wmb(); } @@ -564,7 +563,6 @@ int __ide_dma_end (ide_drive_t *drive) /* purge DMA mappings */ ide_destroy_dmatable(drive); /* verify good DMA status */ - hwif->dma = 0; wmb(); return (dma_stat & 7) != 4 ? (0x10 | dma_stat) : 0; } |