iommu/amd: Remove the unused struct amd_ir_data.ref
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tue, 30 May 2023 14:11:34 +0000 (10:11 -0400)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Jun 2023 12:47:08 +0000 (14:47 +0200)
commit74a37817bd1567330fb372eb01223e31b45b1cc0
treeac7a5bcf41700e0557689846adc2a136f2cdc685
parenta42f0c7a4118ffa395866cc7f5522d71a86fc4dd
iommu/amd: Remove the unused struct amd_ir_data.ref

Since the amd_iommu_update_ga() has been switched to use the
modify_irte_ga() helper function to update the IRTE, the parameter
is no longer needed.

Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Suggested-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20230530141137.14376-3-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/iommu.c