summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-24 13:49:47 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-24 22:08:58 +1000
commit112466b4d0036b3244509d01dbbf3c8caec52a23 (patch)
tree9f830c62109282feda1f4e479d8eb61ae21eac07 /arch/powerpc/kernel/prom.c
parent4bf56e1725a298fb430977cf143ad3a36c91b46a (diff)
[POWERPC] Remove find_all_nodes
This old interface has no more users. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r--arch/powerpc/kernel/prom.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 2f7e6ec215f..911ec77a42d 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -1110,23 +1110,6 @@ struct device_node *find_type_devices(const char *type)
}
EXPORT_SYMBOL(find_type_devices);
-/**
- * Returns all nodes linked together
- */
-struct device_node *find_all_nodes(void)
-{
- struct device_node *head, **prevp, *np;
-
- prevp = &head;
- for (np = allnodes; np != 0; np = np->allnext) {
- *prevp = np;
- prevp = &np->next;
- }
- *prevp = NULL;
- return head;
-}
-EXPORT_SYMBOL(find_all_nodes);
-
/** Checks if the given "compat" string matches one of the strings in
* the device's "compatible" property
*/