of/overlay: Remove unused variable
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 3 Mar 2015 13:04:45 +0000 (10:04 -0300)
committerRob Herring <robh@kernel.org>
Tue, 10 Mar 2015 15:34:33 +0000 (10:34 -0500)
commitd3a891652adb82e1973348c703a597cb54e41dea
tree2d203ea5f53bb9debf63ee5e8eb00157440fd56d
parent20aa4d8ae8d2ada8f959364ebc096b8841245456
of/overlay: Remove unused variable

Commit 3e7f7626fd49a ("of/overlay: Do not generate duplicate nodes") removed
the only use of the 'grandchild' variable, which leads to the following build
warning:

drivers/of/overlay.c: In function 'of_overlay_apply_single_device_node':
drivers/of/overlay.c:89:31: warning: unused variable 'grandchild' [-Wunused-variable]
  struct device_node *tchild, *grandchild;
                               ^

Remove this unused variable.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c