[PATCH] Remove dead code in iommu.h
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 6 Nov 2006 10:19:08 +0000 (11:19 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 13 Nov 2006 03:44:56 +0000 (14:44 +1100)
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 <s.hauer@pengutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/iommu.h

index a5e9864..264ed62 100644 (file)
@@ -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
  */