[XEN PATCH] iommu: remove unused external variables

Dmytro Prokopchuk1 posted 1 patch 3 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/7e74f3da4e5529e33a4ec5426c0aaa7ca603a1c5.1752013287.git.dmytro._5Fprokopchuk1@epam.com
xen/include/xen/iommu.h | 3 ---
1 file changed, 3 deletions(-)
[XEN PATCH] iommu: remove unused external variables
Posted by Dmytro Prokopchuk1 3 months, 3 weeks ago
These external variables ('iommu_pt_cleanup_lock'
and 'iommu_pt_cleanup_list') are no longer used
in the codebase. Remove them.

Fixes: b5622eb627 (iommu: remove unused iommu_ops method and tasklet, 2020-09-22)
Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@epam.com>
---
 xen/include/xen/iommu.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index ebfada1d88..3205e49990 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -500,9 +500,6 @@ void iommu_dev_iotlb_flush_timeout(struct domain *d, struct pci_dev *pdev);
  */
 DECLARE_PER_CPU(bool, iommu_dont_flush_iotlb);
 
-extern struct spinlock iommu_pt_cleanup_lock;
-extern struct page_list_head iommu_pt_cleanup_list;
-
 bool arch_iommu_use_permitted(const struct domain *d);
 
 #ifdef CONFIG_X86
-- 
2.43.0
Re: [XEN PATCH] iommu: remove unused external variables
Posted by Jan Beulich 3 months, 3 weeks ago
On 09.07.2025 00:23, Dmytro Prokopchuk1 wrote:
> These external variables ('iommu_pt_cleanup_lock'
> and 'iommu_pt_cleanup_list') are no longer used
> in the codebase. Remove them.
> 
> Fixes: b5622eb627 (iommu: remove unused iommu_ops method and tasklet, 2020-09-22)
> Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@epam.com>

Reviewed-by: Jan Beulich <jbeulich@suse.com>