diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2023-05-30 17:11:34 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-06-09 15:47:08 +0300 |
commit | 74a37817bd1567330fb372eb01223e31b45b1cc0 (patch) | |
tree | ac7a5bcf41700e0557689846adc2a136f2cdc685 /drivers/iommu/amd/amd_iommu_types.h | |
parent | a42f0c7a4118ffa395866cc7f5522d71a86fc4dd (diff) | |
download | linux-74a37817bd1567330fb372eb01223e31b45b1cc0.tar.xz |
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>
Diffstat (limited to 'drivers/iommu/amd/amd_iommu_types.h')
-rw-r--r-- | drivers/iommu/amd/amd_iommu_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/amd/amd_iommu_types.h b/drivers/iommu/amd/amd_iommu_types.h index 2ddbda3a4374..8c072be68875 100644 --- a/drivers/iommu/amd/amd_iommu_types.h +++ b/drivers/iommu/amd/amd_iommu_types.h @@ -1001,7 +1001,6 @@ struct amd_ir_data { struct irq_2_irte irq_2_irte; struct msi_msg msi_entry; void *entry; /* Pointer to union irte or struct irte_ga */ - void *ref; /* Pointer to the actual irte */ /** * Store information for activate/de-activate |