diff options
author | Qian Cai <cai@lca.pw> | 2020-05-08 21:56:45 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-13 10:39:43 +0200 |
commit | cfcccbe8879f79bc9f8a162bcb482c74b8768094 (patch) | |
tree | 9c7fafad7eb1e8ae712cdbaa8b97277df8b61b02 /lib/mpi/mpi-bit.c | |
parent | 1b032ec1ecbce6047af7d11c9db432e237cb17d8 (diff) |
iommu/amd: Fix variable "iommu" set but not used
The commit dce8d6964ebd ("iommu/amd: Convert to probe/release_device()
call-backs") introduced an unused variable,
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]
struct amd_iommu *iommu;
^~~~~
Signed-off-by: Qian Cai <cai@lca.pw>
Link: https://lore.kernel.org/r/20200509015645.3236-1-cai@lca.pw
Fixes: dce8d6964ebd ("iommu/amd: Convert to probe/release_device() call-backs")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions