Merge tag 'devicetree-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / of / pdt.c
index c1633041621daf4cc233e12a828d5d314e042be2..d3185063d369c5c0c42f85162aaaae2cb74e0654 100644 (file)
@@ -21,8 +21,6 @@
 
 static struct of_pdt_ops *of_pdt_prom_ops __initdata;
 
-void __initdata (*of_pdt_build_more)(struct device_node *dp);
-
 #if defined(CONFIG_SPARC)
 unsigned int of_pdt_unique_id __initdata;
 
@@ -189,9 +187,6 @@ static struct device_node * __init of_pdt_build_tree(struct device_node *parent,
 
                dp->child = of_pdt_build_tree(dp, of_pdt_prom_ops->getchild(node));
 
-               if (of_pdt_build_more)
-                       of_pdt_build_more(dp);
-
                node = of_pdt_prom_ops->getsibling(node);
        }