aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/dma-iommu.h
diff options
context:
space:
mode:
authorRitesh Harjani <ritesh.harjani@gmail.com>2014-05-20 00:32:59 -0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-05-20 07:43:26 -0400
commit006f841db1e0da8801aedc6751b563b28f9a6319 (patch)
tree267fd2f58110a184b5bf8ecd9bfc08fc3330e443 /arch/arm/include/asm/dma-iommu.h
parent7ee793a62fa8c544f8b844e6e87b2d8e8836b219 (diff)
arm: dma-iommu: Clean up redundant variable
mapping->size can be derived from mapping->bits << PAGE_SHIFT which makes mapping->size as redundant. Clean this up. Signed-off-by: Ritesh Harjani <ritesh.harjani@gmail.com> Reported-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/dma-iommu.h')
-rw-r--r--arch/arm/include/asm/dma-iommu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/dma-iommu.h b/arch/arm/include/asm/dma-iommu.h
index eec0a12c5c1d..8e3fcb924db6 100644
--- a/arch/arm/include/asm/dma-iommu.h
+++ b/arch/arm/include/asm/dma-iommu.h
@@ -18,7 +18,6 @@ struct dma_iommu_mapping {
18 unsigned int extensions; 18 unsigned int extensions;
19 size_t bitmap_size; /* size of a single bitmap */ 19 size_t bitmap_size; /* size of a single bitmap */
20 size_t bits; /* per bitmap */ 20 size_t bits; /* per bitmap */
21 unsigned int size; /* per bitmap */
22 dma_addr_t base; 21 dma_addr_t base;
23 22
24 spinlock_t lock; 23 spinlock_t lock;