iommu/arm-smmu-v3: remove set but not used variable 'smmu'
authorChen Zhou <chenzhou10@huawei.com>
Fri, 8 May 2020 01:49:55 +0000 (09:49 +0800)
committerWill Deacon <will@kernel.org>
Mon, 18 May 2020 13:59:12 +0000 (14:59 +0100)
commit06020196c82e26e835b739dfa91a2717b0d37148
tree355428312c13b6d64c3827f42d362bc4ac5faaaa
parentbd0d696023cb381608e9c3d59dddb25b3816eee7
iommu/arm-smmu-v3: remove set but not used variable 'smmu'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/iommu/arm-smmu-v3.c:2989:26:
warning: variable ‘smmu’ set but not used [-Wunused-but-set-variable]
  struct arm_smmu_device *smmu;

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Link: https://lore.kernel.org/r/20200508014955.87630-1-chenzhou10@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c