https://github.com/torvalds/linux
Revision d3a891652adb82e1973348c703a597cb54e41dea authored by Fabio Estevam on 03 March 2015, 13:04:45 UTC, committed by Rob Herring on 10 March 2015, 15:34:33 UTC
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>
1 parent 20aa4d8
History
Tip revision: d3a891652adb82e1973348c703a597cb54e41dea authored by Fabio Estevam on 03 March 2015, 13:04:45 UTC
of/overlay: Remove unused variable
Tip revision: d3a8916
File Mode Size
Makefile -rw-r--r-- 166 bytes
arraymap.c -rw-r--r-- 4.0 KB
core.c -rw-r--r-- 16.6 KB
hashtab.c -rw-r--r-- 8.8 KB
helpers.c -rw-r--r-- 2.8 KB
syscall.c -rw-r--r-- 13.1 KB
test_stub.c -rw-r--r-- 1.8 KB
verifier.c -rw-r--r-- 55.1 KB

back to top