提交 5581a95f 编写于 作者: F Frank Rowand 提交者: Rob Herring

of: Remove unused variable overlay_symbols

Remove unused pointer to node "__symbols__".
Signed-off-by: NFrank Rowand <frank.rowand@am.sony.com>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 4458db4c
...@@ -287,7 +287,7 @@ static int adjust_local_phandle_references(struct device_node *local_fixups, ...@@ -287,7 +287,7 @@ static int adjust_local_phandle_references(struct device_node *local_fixups,
int of_resolve_phandles(struct device_node *overlay) int of_resolve_phandles(struct device_node *overlay)
{ {
struct device_node *child, *local_fixups, *refnode; 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; struct property *prop;
const char *refpath; const char *refpath;
phandle phandle, phandle_delta; phandle phandle, phandle_delta;
...@@ -317,12 +317,9 @@ int of_resolve_phandles(struct device_node *overlay) ...@@ -317,12 +317,9 @@ int of_resolve_phandles(struct device_node *overlay)
if (err) if (err)
goto err_out; goto err_out;
overlay_symbols = NULL;
overlay_fixups = NULL; overlay_fixups = NULL;
for_each_child_of_node(overlay, child) { for_each_child_of_node(overlay, child) {
if (!of_node_cmp(child->name, "__symbols__"))
overlay_symbols = child;
if (!of_node_cmp(child->name, "__fixups__")) if (!of_node_cmp(child->name, "__fixups__"))
overlay_fixups = child; overlay_fixups = child;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册