]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ia64: Get rid of iommu_pass_through
authorJoerg Roedel <jroedel@suse.de>
Mon, 19 Aug 2019 13:22:52 +0000 (15:22 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 23 Aug 2019 08:11:27 +0000 (10:11 +0200)
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
arch/ia64/kernel/pci-dma.c

index 7429a72f3f921996643c48d19dc206fe3034b7dd..92aceef63710861abc7c9605fe2c6b15105c3c97 100644 (file)
@@ -8,10 +8,8 @@
 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
index fe988c49f01ce6ae844355731ddc50f01fef3df1..f5d49cd3fbb01a9933f5d547682d4adbdde2617e 100644 (file)
@@ -22,8 +22,6 @@ int force_iommu __read_mostly = 1;
 int force_iommu __read_mostly;
 #endif
 
-int iommu_pass_through;
-
 static int __init pci_iommu_init(void)
 {
        if (iommu_detected)