Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601190634.bl7Mjx5Q-lkp@intel.com/
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

authored by

Suravee Suthikulpanit and committed by
Joerg Roedel
c0a652a3 103f4e7c

-1
-1
drivers/iommu/amd/iommufd.c
··· 59 59 static void amd_iommufd_viommu_destroy(struct iommufd_viommu *viommu) 60 60 { 61 61 unsigned long flags; 62 - struct amd_iommu *iommu = container_of(viommu->iommu_dev, struct amd_iommu, iommu); 63 62 struct amd_iommu_viommu *aviommu = container_of(viommu, struct amd_iommu_viommu, core); 64 63 struct protection_domain *pdom = aviommu->parent; 65 64