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
Kconfig -rw-r--r-- 18.6 KB
Makefile -rw-r--r-- 2.2 KB
blktrace.c -rw-r--r-- 42.3 KB
ftrace.c -rw-r--r-- 136.2 KB
power-traces.c -rw-r--r-- 376 bytes
ring_buffer.c -rw-r--r-- 129.9 KB
ring_buffer_benchmark.c -rw-r--r-- 10.3 KB
rpm-traces.c -rw-r--r-- 474 bytes
trace.c -rw-r--r-- 163.7 KB
trace.h -rw-r--r-- 40.1 KB
trace_benchmark.c -rw-r--r-- 4.3 KB
trace_benchmark.h -rw-r--r-- 836 bytes
trace_branch.c -rw-r--r-- 9.0 KB
trace_clock.c -rw-r--r-- 3.4 KB
trace_entries.h -rw-r--r-- 7.4 KB
trace_event_perf.c -rw-r--r-- 8.8 KB
trace_events.c -rw-r--r-- 62.3 KB
trace_events_filter.c -rw-r--r-- 53.6 KB
trace_events_filter_test.h -rw-r--r-- 1.0 KB
trace_events_trigger.c -rw-r--r-- 34.7 KB
trace_export.c -rw-r--r-- 5.2 KB
trace_functions.c -rw-r--r-- 15.1 KB
trace_functions_graph.c -rw-r--r-- 35.5 KB
trace_irqsoff.c -rw-r--r-- 17.3 KB
trace_kdb.c -rw-r--r-- 3.1 KB
trace_kprobe.c -rw-r--r-- 36.2 KB
trace_mmiotrace.c -rw-r--r-- 8.8 KB
trace_nop.c -rw-r--r-- 2.2 KB
trace_output.c -rw-r--r-- 26.9 KB
trace_output.h -rw-r--r-- 1.4 KB
trace_printk.c -rw-r--r-- 8.3 KB
trace_probe.c -rw-r--r-- 17.4 KB
trace_probe.h -rw-r--r-- 11.2 KB
trace_sched_switch.c -rw-r--r-- 2.2 KB
trace_sched_wakeup.c -rw-r--r-- 18.9 KB
trace_selftest.c -rw-r--r-- 26.6 KB
trace_selftest_dynamic.c -rw-r--r-- 168 bytes
trace_seq.c -rw-r--r-- 9.9 KB
trace_stack.c -rw-r--r-- 10.7 KB
trace_stat.c -rw-r--r-- 7.6 KB
trace_stat.h -rw-r--r-- 973 bytes
trace_syscalls.c -rw-r--r-- 18.4 KB
trace_uprobe.c -rw-r--r-- 30.3 KB

back to top