ide: destroy DMA mappings after ending DMA (v2)
[firefly-linux-kernel-4.4.55.git] / drivers / ide / au1xxx-ide.c
index 0c08c5e01f2aadd8030cb86f4fa5f55a0aafa9f5..ba2a211758a942f05e4a8a6324a5a9525924ed14 100644 (file)
@@ -280,8 +280,6 @@ static int auide_build_dmatable(ide_drive_t *drive, struct ide_cmd *cmd)
 
 static int auide_dma_end(ide_drive_t *drive)
 {
-       ide_destroy_dmatable(drive);
-
        return 0;
 }