diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-08-19 09:22:52 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-08-23 04:11:27 -0400 |
commit | 74bc0f6b22fd1a3c839f61d8475335a98af53c7a (patch) | |
tree | da7360ffcfa07c1d4ce4bec1596651c3f2c64f22 | |
parent | c53c47aac4ff9509e7e1a32666baefbd9793c5a0 (diff) |
ia64: Get rid of iommu_pass_through
This variable has no users anymore so it can be removed.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r-- | arch/ia64/include/asm/iommu.h | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/pci-dma.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h index 7429a72f3f92..92aceef63710 100644 --- a/arch/ia64/include/asm/iommu.h +++ b/arch/ia64/include/asm/iommu.h | |||
@@ -8,10 +8,8 @@ | |||
8 | extern void no_iommu_init(void); | 8 | extern void no_iommu_init(void); |
9 | #ifdef CONFIG_INTEL_IOMMU | 9 | #ifdef CONFIG_INTEL_IOMMU |
10 | extern int force_iommu, no_iommu; | 10 | extern int force_iommu, no_iommu; |
11 | extern int iommu_pass_through; | ||
12 | extern int iommu_detected; | 11 | extern int iommu_detected; |
13 | #else | 12 | #else |
14 | #define iommu_pass_through (0) | ||
15 | #define no_iommu (1) | 13 | #define no_iommu (1) |
16 | #define iommu_detected (0) | 14 | #define iommu_detected (0) |
17 | #endif | 15 | #endif |
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index fe988c49f01c..f5d49cd3fbb0 100644 --- a/arch/ia64/kernel/pci-dma.c +++ b/arch/ia64/kernel/pci-dma.c | |||
@@ -22,8 +22,6 @@ int force_iommu __read_mostly = 1; | |||
22 | int force_iommu __read_mostly; | 22 | int force_iommu __read_mostly; |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | int iommu_pass_through; | ||
26 | |||
27 | static int __init pci_iommu_init(void) | 25 | static int __init pci_iommu_init(void) |
28 | { | 26 | { |
29 | if (iommu_detected) | 27 | if (iommu_detected) |