Blob Blame History Raw
From: Joerg Roedel <jroedel@suse.de>
Date: Wed, 14 Aug 2019 14:10:44 +0200
Subject: [PATCH 07/11] ia64: Get rid of iommu_pass_through
Patch-mainline: v5.4-rc1
Git-commit: 74bc0f6b22fd1a3c839f61d8475335a98af53c7a
References: bsc#1136039

This variable has no users anymore so it can be removed.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
---
 arch/ia64/include/asm/iommu.h | 2 --
 arch/ia64/kernel/pci-dma.c    | 2 --
 2 files changed, 4 deletions(-)

--- a/arch/ia64/include/asm/iommu.h
+++ b/arch/ia64/include/asm/iommu.h
@@ -8,10 +8,8 @@ extern void pci_iommu_shutdown(void);
 extern void no_iommu_init(void);
 #ifdef	CONFIG_INTEL_IOMMU
 extern int force_iommu, no_iommu;
-extern int iommu_pass_through;
 extern int iommu_detected;
 #else
-#define iommu_pass_through	(0)
 #define no_iommu		(1)
 #define iommu_detected		(0)
 #endif
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -31,8 +31,6 @@ int force_iommu __read_mostly = 1;
 int force_iommu __read_mostly;
 #endif
 
-int iommu_pass_through;
-
 extern struct dma_map_ops intel_dma_ops;
 
 static int __init pci_iommu_init(void)