aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-09-11 01:43:59 -0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-10-02 02:58:08 -0400
commitabebfb18ea4fe69e9a04187a77fed4e11d67dba4 (patch)
tree45795e65384c9548a5eb84384abf90c9e367dcaa /arch/arm
parent1dc737c44a11c66f23ebeb09796f52f4b60d59c7 (diff)
ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/dma-mapping.c1
1 files changed, 0 insertions, 1 deletions
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,
1624{ 1624{
1625 struct dma_iommu_mapping *mapping = dev->archdata.mapping; 1625 struct dma_iommu_mapping *mapping = dev->archdata.mapping;
1626 dma_addr_t iova = handle & PAGE_MASK; 1626 dma_addr_t iova = handle & PAGE_MASK;
1627 struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova));
1628 int offset = handle & ~PAGE_MASK; 1627 int offset = handle & ~PAGE_MASK;
1629 int len = PAGE_ALIGN(size + offset); 1628 int len = PAGE_ALIGN(size + offset);
1630 1629