summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/rdma.c
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-06-03 17:05:19 +0300
committerJoerg Roedel <jroedel@suse.de>2019-06-18 18:31:46 +0300
commitaf88ec3962010e3ac96bcfe5476c9bd68b42477f (patch)
tree92e7fd06f7838d5434b95a6d5d3fc5f55d469515 /drivers/nvme/host/rdma.c
parent42db7c6a404b21dafd3288ffa43136da562490ac (diff)
downloadlinux-af88ec3962010e3ac96bcfe5476c9bd68b42477f.tar.xz
iommu/vt-d: Silence a variable set but not used
The commit "iommu/vt-d: Probe DMA-capable ACPI name space devices" introduced a compilation warning due to the "iommu" variable in for_each_active_iommu() but never used the for each element, i.e, "drhd->iommu". drivers/iommu/intel-iommu.c: In function 'probe_acpi_namespace_devices': drivers/iommu/intel-iommu.c:4639:22: warning: variable 'iommu' set but not used [-Wunused-but-set-variable] struct intel_iommu *iommu; Silence the warning the same way as in the commit d3ed71e5cc50 ("drivers/iommu/intel-iommu.c: fix variable 'iommu' set but not used") Signed-off-by: Qian Cai <cai@lca.pw> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
0 files changed, 0 insertions, 0 deletions