]> git.karo-electronics.de Git - linux-beck.git/commit
arm: dma-iommu: Clean up redundant variable
authorRitesh Harjani <ritesh.harjani@gmail.com>
Tue, 20 May 2014 04:32:59 +0000 (10:02 +0530)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 20 May 2014 11:43:26 +0000 (13:43 +0200)
commit006f841db1e0da8801aedc6751b563b28f9a6319
tree267fd2f58110a184b5bf8ecd9bfc08fc3330e443
parent7ee793a62fa8c544f8b844e6e87b2d8e8836b219
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>
arch/arm/include/asm/dma-iommu.h
arch/arm/mm/dma-mapping.c