]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page
authorHiroshi Doyu <hdoyu@nvidia.com>
Tue, 11 Sep 2012 05:43:59 +0000 (07:43 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 11 Sep 2012 05:43:59 +0000 (07:43 +0200)
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c

index be8c29550102bf34a702edf1a16176e1fd21aaed..a0981a9371aebc0437a21659d1c0d94b7cc83c1a 100644 (file)
@@ -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);