iommu/vt-d: Remove global g_iommus array
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 12 Jul 2022 00:09:07 +0000 (08:09 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 15 Jul 2022 08:21:42 +0000 (10:21 +0200)
commitbdb46d175872af56d3bffe361f21be2b87784039
tree1dce50e70f75742205bc5a1c33e0e3c7460671b6
parent97a79de99a4083056184bd4790723fe64c3fba66
iommu/vt-d: Remove global g_iommus array

The g_iommus and g_num_of_iommus is not used anywhere. Remove them to
avoid dead code.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lore.kernel.org/r/20220702015610.2849494-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c