summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-11-07 01:07:37 +0100
committerRob Herring <robh@kernel.org>2018-11-09 22:40:53 +0100
commit1ae367a2451e0b249074461d2d8ac76d8e929a53 (patch)
tree7c0a299f7c5b0a37182eb1a43b0cd268423ddb19 /drivers/of
parentof: Documentation: remove unmaintained todo file (diff)
downloadlinux-1ae367a2451e0b249074461d2d8ac76d8e929a53.tar.xz
linux-1ae367a2451e0b249074461d2d8ac76d8e929a53.zip
of/pdt: Remove unused of_pdt_build_more function ptr
There are no users of of_pdt_build_more since 2012, so remove it. Cc: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/pdt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/of/pdt.c b/drivers/of/pdt.c
index 013e65de074a..4fc0fd96ed04 100644
--- a/drivers/of/pdt.c
+++ b/drivers/of/pdt.c
@@ -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;
@@ -208,9 +206,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);
}