Patchwork powerpc/iommu: Remove unused pci_iommu_init() and pci_direct_iommu_init()

login
register
mail settings
Submitter Bjorn Helgaas
Date June 11, 2013, 7:57 p.m.
Message ID <20130611195705.17794.68833.stgit@bhelgaas-glaptop>
Download mbox | patch
Permalink /patch/250629/
State Accepted, archived
Commit 5524f3fc069b6435f9ff0db573e3a8b5082ef528
Headers show

Comments

Bjorn Helgaas - June 11, 2013, 7:57 p.m.
pci_iommu_init() and pci_direct_iommu_init() are not referenced anywhere,
so remove them.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 arch/powerpc/include/asm/iommu.h |    7 -------
 1 file changed, 7 deletions(-)
Benjamin Herrenschmidt - June 11, 2013, 9:27 p.m.
On Tue, 2013-06-11 at 13:57 -0600, Bjorn Helgaas wrote:
> pci_iommu_init() and pci_direct_iommu_init() are not referenced anywhere,
> so remove them.

Ah indeed, some old stuff...

Thanks,
Ben.

> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
>  arch/powerpc/include/asm/iommu.h |    7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/arch/powerpc/include/asm/iommu.h b/arch/powerpc/include/asm/iommu.h
> index cbfe678..e670f73 100644
> --- a/arch/powerpc/include/asm/iommu.h
> +++ b/arch/powerpc/include/asm/iommu.h
> @@ -125,13 +125,6 @@ extern void iommu_init_early_pSeries(void);
>  extern void iommu_init_early_dart(void);
>  extern void iommu_init_early_pasemi(void);
>  
> -#ifdef CONFIG_PCI
> -extern void pci_iommu_init(void);
> -extern void pci_direct_iommu_init(void);
> -#else
> -static inline void pci_iommu_init(void) { }
> -#endif
> -
>  extern void alloc_dart_table(void);
>  #if defined(CONFIG_PPC64) && defined(CONFIG_PM)
>  static inline void iommu_save(void)

Patch

diff --git a/arch/powerpc/include/asm/iommu.h b/arch/powerpc/include/asm/iommu.h
index cbfe678..e670f73 100644
--- a/arch/powerpc/include/asm/iommu.h
+++ b/arch/powerpc/include/asm/iommu.h
@@ -125,13 +125,6 @@  extern void iommu_init_early_pSeries(void);
 extern void iommu_init_early_dart(void);
 extern void iommu_init_early_pasemi(void);
 
-#ifdef CONFIG_PCI
-extern void pci_iommu_init(void);
-extern void pci_direct_iommu_init(void);
-#else
-static inline void pci_iommu_init(void) { }
-#endif
-
 extern void alloc_dart_table(void);
 #if defined(CONFIG_PPC64) && defined(CONFIG_PM)
 static inline void iommu_save(void)