Skip to content

Commit

Permalink
[PATCH] Remove dead code in iommu.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer authored and Paul Mackerras committed Nov 13, 2006
1 parent bfaadca commit 2b890bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/asm-powerpc/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 2b890bc

Please sign in to comment.