iommu/amd: Remove amd_iommu_device_info()
authorVasant Hegde <vasant.hegde@amd.com>
Fri, 6 Oct 2023 09:57:04 +0000 (09:57 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 6 Oct 2023 14:01:54 +0000 (16:01 +0200)
commit37b282fa04dd7b9bfa7c290fe07ef1730444debb
tree43f3d80b2fddc3393a8f8bd3ad27f1419a91b14e
parentd55b0d2e075ad32d560cdd35a2016973fda52ed6
iommu/amd: Remove amd_iommu_device_info()

No one is using this function. Hence remove it. Also move PCI device
feature detection flags to amd_iommu_types.h as its only used inside
AMD IOMMU driver.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Tested-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20231006095706.5694-4-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/iommu.c
include/linux/amd-iommu.h