iommu/amd: Remove useless irq affinity notifier
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 23 Nov 2021 16:10:38 +0000 (18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:14 +0000 (11:04 +0100)
[ Upstream commit 575f5cfb13c84f324f9898383fa4a5694e53c9ef ]

iommu->intcapxt_notify field is no longer used
after a switch to a separate domain was done

Fixes: d1adcfbb520c ("iommu/amd: Fix IOMMU interrupt generation in X2APIC mode")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20211123161038.48009-6-mlevitsk@redhat.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/amd/amd_iommu_types.h

index 8dbe61e2b3c15243563e9d6da7b6e3b88933263f..8394c2787ff890ddb389ef824ae414e5efb61406 100644 (file)
@@ -643,8 +643,6 @@ struct amd_iommu {
        /* DebugFS Info */
        struct dentry *debugfs;
 #endif
-       /* IRQ notifier for IntCapXT interrupt */
-       struct irq_affinity_notify intcapxt_notify;
 };
 
 static inline struct amd_iommu *dev_to_amd_iommu(struct device *dev)