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
apparmor
integrity
keys
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 5.7 KB
Makefile -rw-r--r-- 913 bytes
capability.c -rw-r--r-- 25.2 KB
commoncap.c -rw-r--r-- 28.1 KB
device_cgroup.c -rw-r--r-- 21.1 KB
inode.c -rw-r--r-- 6.7 KB
lsm_audit.c -rw-r--r-- 9.4 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 36.8 KB

back to top