From: Hiroshi Doyu Date: Tue, 11 Sep 2012 05:43:59 +0000 (+0200) Subject: ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abebfb18ea4fe69e9a04187a77fed4e11d67dba4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page Signed-off-by: Hiroshi Doyu Signed-off-by: Marek Szyprowski --- diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 5d5a4c4a5db6..de7215c399c1 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -1624,7 +1624,6 @@ static void arm_coherent_iommu_unmap_page(struct device *dev, dma_addr_t handle, { struct dma_iommu_mapping *mapping = dev->archdata.mapping; dma_addr_t iova = handle & PAGE_MASK; - struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); int offset = handle & ~PAGE_MASK; int len = PAGE_ALIGN(size + offset);