iommu/arm-smmu: Remove redundant calculation of gr0 base address
authorWill Deacon <will.deacon@arm.com>
Tue, 13 Oct 2015 16:53:24 +0000 (17:53 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 15 Oct 2015 15:29:54 +0000 (16:29 +0100)
commitc88ae5de71629e4b5e4075897d9980a7b079d122
treef0359881a7ee1d09b23cb133d0f11326db30f95b
parentc0733a2cf30c1e7923b6ad4f8df67941502923de
iommu/arm-smmu: Remove redundant calculation of gr0 base address

Since commit 1463fe44fd0f ("iommu/arm-smmu: Don't use VMIDs for stage-1
translations"), we don't need the GR0 base address when initialising a
context bank, so remove the useless local variable and its init code.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c