From: Sascha Hauer Date: Mon, 6 Nov 2006 10:19:08 +0000 (+0100) Subject: [PATCH] Remove dead code in iommu.h X-Git-Tag: MMI-PSA29.97-13-9~44978^2~47^2~109^2~162 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b890bc2ce95e8c141b38ea86100826b46534295;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] Remove dead code in iommu.h iommu_setup_pSeries() and iommu_setup_dart() are declared extern but are not implemented, so remove them. Remove ifdef around extern function declaration. Signed-off-by: Sascha Hauer Signed-off-by: Paul Mackerras --- diff --git a/include/asm-powerpc/iommu.h b/include/asm-powerpc/iommu.h index a5e98641a2ae..264ed6242771 100644 --- a/include/asm-powerpc/iommu.h +++ b/include/asm-powerpc/iommu.h @@ -52,17 +52,9 @@ struct iommu_table { struct scatterlist; struct device_node; -#ifdef CONFIG_PPC_MULTIPLATFORM - -/* Walks all buses and creates iommu tables */ -extern void iommu_setup_pSeries(void); -extern void iommu_setup_dart(void); - /* Frees table for an individual device node */ extern void iommu_free_table(struct device_node *dn); -#endif /* CONFIG_PPC_MULTIPLATFORM */ - /* Initializes an iommu_table based in values set in the passed-in * structure */