Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b890bc2 authored by Sascha Hauer's avatar Sascha Hauer Committed by Paul Mackerras
Browse files

[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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent bfaadcad
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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
 */