diff options
author | Frank Rowand <frank.rowand@am.sony.com> | 2016-10-28 23:26:32 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-11-15 09:17:18 -0600 |
commit | 5581a95f2dacb3674827f450ac406e1f8ae3b3e5 (patch) | |
tree | 2686e8ba192551b0779f7ec1781faa92bc78eaa9 /drivers/of | |
parent | 4458db4c9b7363a60d9ad07275fb2eea4ecf3b52 (diff) | |
download | linux-next-5581a95f2dacb3674827f450ac406e1f8ae3b3e5.tar.gz |
of: Remove unused variable overlay_symbols
Remove unused pointer to node "__symbols__".
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/resolver.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/of/resolver.c b/drivers/of/resolver.c index 53353cc8f2bb..783bd09463b5 100644 --- a/drivers/of/resolver.c +++ b/drivers/of/resolver.c @@ -287,7 +287,7 @@ static int adjust_local_phandle_references(struct device_node *local_fixups, int of_resolve_phandles(struct device_node *overlay) { struct device_node *child, *local_fixups, *refnode; - struct device_node *tree_symbols, *overlay_symbols, *overlay_fixups; + struct device_node *tree_symbols, *overlay_fixups; struct property *prop; const char *refpath; phandle phandle, phandle_delta; @@ -317,12 +317,9 @@ int of_resolve_phandles(struct device_node *overlay) if (err) goto err_out; - overlay_symbols = NULL; overlay_fixups = NULL; for_each_child_of_node(overlay, child) { - if (!of_node_cmp(child->name, "__symbols__")) - overlay_symbols = child; if (!of_node_cmp(child->name, "__fixups__")) overlay_fixups = child; } |