iommu/amd: Remove unused variable in amd_iommufd_viommu_destroy()
Subsystems (2)
Suravee Suthikulpanit
reviewerPATCH 1/1 iommu/amd: Remove unused variable in amd_iommufd_viommu_destroy()
This fixes warning reported by 0-DAY CI Kernel Test Service.
Fixes 757d2b1fdf5b ("iommu/amd: Introduce gDomID-to-hDomID Mapping and handle parent domain invalidation")
Reported-by kernel test robot <[email protected]>
Signed-off-by Suravee Suthikulpanit <[email protected]>
--- drivers/iommu/amd/iommufd.c | 1 - 1 file changed, 1 deletion(-)
drivers/iommu/amd/iommufd.c +0 -1
@@ -59,7 +59,6 @@ int amd_iommufd_viommu_init(struct iommufd_viommu *viommu, struct iommu_domain *static void amd_iommufd_viommu_destroy (struct iommufd_viommu *viommu) {unsigned long flags; - struct amd_iommu *iommu = container_of(viommu->iommu_dev, struct amd_iommu, iommu); struct amd_iommu_viommu *aviommu = container_of(viommu, struct amd_iommu_viommu, core);struct protection_domain *pdom = aviommu->parent;
Signature · 1 line
2.34.1
Quoted 9 lines · Suravee Suthikulpanit
This fixes warning reported by 0-DAY CI Kernel Test Service.
Fixes 757d2b1fdf5b ("iommu/amd: Introduce gDomID-to-hDomID Mapping and handle parent domain invalidation")Reported-by kernel test robot <[email protected]>Signed-off-by Suravee Suthikulpanit <[email protected]>--- drivers/iommu/amd/iommufd.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.