Re: [PATCH -next] iommu/amd: Remove set but not used variable 'iommu'

2020-05-13 Thread Joerg Roedel
On Fri, May 08, 2020 at 01:40:36PM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/iommu/amd_iommu.c: In function 'amd_iommu_uninit_device': > drivers/iommu/amd_iommu.c:422:20: warning: > variable 'iommu' set but not used [-Wunused-but-set-variable] > >

[PATCH -next] iommu/amd: Remove set but not used variable 'iommu'

2020-05-08 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/iommu/amd_iommu.c: In function 'amd_iommu_uninit_device': drivers/iommu/amd_iommu.c:422:20: warning: variable 'iommu' set but not used [-Wunused-but-set-variable] commit dce8d6964ebd ("iommu/amd: Convert to probe/release_device()