Janitorial patch, removes deprecated code that is not used anywhere. Signed-off-by: Linas Vepstas Index: linux-2.6.13-rc6-git9/arch/ppc64/kernel/prom.c =================================================================== --- linux-2.6.13-rc6-git9.orig/arch/ppc64/kernel/prom.c 2005-08-17 15:12:23.000000000 -0500 +++ linux-2.6.13-rc6-git9/arch/ppc64/kernel/prom.c 2005-08-17 16:21:26.000000000 -0500 @@ -1252,24 +1252,6 @@ } 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 */ Index: linux-2.6.13-rc6-git9/include/asm-ppc64/prom.h =================================================================== --- linux-2.6.13-rc6-git9.orig/include/asm-ppc64/prom.h 2005-07-15 16:18:57.000000000 -0500 +++ linux-2.6.13-rc6-git9/include/asm-ppc64/prom.h 2005-08-17 16:20:41.000000000 -0500 @@ -179,7 +179,6 @@ extern struct device_node *find_path_device(const char *path); extern struct device_node *find_compatible_devices(const char *type, const char *compat); -extern struct device_node *find_all_nodes(void); /* New style node lookup */ extern struct device_node *of_find_node_by_name(struct device_node *from, --