Re: [PATCH -next] iommu/arm-smmu-v3: remove set but not used variable 'smmu'

2020-05-18 Thread Will Deacon
On Fri, 8 May 2020 09:49:55 +0800, Chen Zhou wrote: > 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; Applied to will (for-joerg/arm-smmu/updates),

[PATCH -next] iommu/arm-smmu-v3: remove set but not used variable 'smmu'

2020-05-08 Thread Chen Zhou
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 Signed-off-by: Chen Zhou --- drivers/iommu/arm-smmu-v3.c | 2 -- 1 file changed, 2