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-Tag: next-20120914~6^2~1^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0f819d429329ff9c9c7a8ad3a9a1880c85e80b53;p=karo-tx-linux.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 be8c29550102..a0981a9371ae 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -1622,7 +1622,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);