Message ID | 20210406204326.1932888-7-jxgao@google.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index 46286c0d38e2..388c5e2a684e 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -639,7 +639,6 @@ void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, if (orig_addr == INVALID_PHYS_ADDR) return; - orig_addr += (unsigned long)tlb_addr & ((1 << IO_TLB_SHIFT) - 1); switch (target) { case SYNC_FOR_CPU: