]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fc109c45cbbaf2662fffcb660b8cb0aa6c4dceb
tree1dce50e70f75742205bc5a1c33e0e3c7460671b6
parentcc22e0a7b2156f19fd49ab2d3b470533958a5268
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