summaryrefslogtreecommitdiff
path: root/kernel/dma/direct.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/dma/direct.h')
-rw-r--r--kernel/dma/direct.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/dma/direct.h b/kernel/dma/direct.h
index da2fadf45bcd..f476c63b668c 100644
--- a/kernel/dma/direct.h
+++ b/kernel/dma/direct.h
@@ -75,9 +75,6 @@ static inline void dma_direct_sync_single_for_cpu(struct device *dev,
}
swiotlb_sync_single_for_cpu(dev, paddr, size, dir);
-
- if (dir == DMA_FROM_DEVICE)
- arch_dma_mark_clean(paddr, size);
}
static inline dma_addr_t dma_direct_map_phys(struct device *dev,