Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2e5382f authored by Fabio Estevam's avatar Fabio Estevam Committed by Alistair Strachan
Browse files

UPSTREAM: 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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
(cherry picked from commit d3a891652adb82e1973348c703a597cb54e41dea)
Bug: 109890997
Change-Id: I726a19645b7764ca885b39628a1579d5556a914e
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 2b41bc0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment