summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/dma-iommu.h
diff options
context:
space:
mode:
authorRitesh Harjani <ritesh.harjani@gmail.com>2014-05-20 10:02:59 +0530
committerMarek Szyprowski <m.szyprowski@samsung.com>2014-05-20 13:43:26 +0200
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 {
unsigned int extensions;
size_t bitmap_size; /* size of a single bitmap */
size_t bits; /* per bitmap */
- unsigned int size; /* per bitmap */
dma_addr_t base;
spinlock_t lock;