diff options
| author | Anders Roxell <[email protected]> | 2018-07-26 22:27:21 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2018-07-27 16:55:43 +0000 |
| commit | 8927c27b32703e28041ae19bf25ea53461be83a1 (patch) | |
| tree | d24ce2f56567238705a921e5b422507f1a982868 /tools/perf/scripts/python/futex-contention.py | |
| parent | clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent (diff) | |
| download | kernel-8927c27b32703e28041ae19bf25ea53461be83a1.tar.gz kernel-8927c27b32703e28041ae19bf25ea53461be83a1.zip | |
clk: mvebu: armada-37xx-periph: Remove unused var num_parents
When building armada-37xx-periph, num_parents isn't used in function
clk_pm_cpu_get_parent:
drivers/clk/mvebu/armada-37xx-periph.c: In function ‘clk_pm_cpu_get_parent’:
drivers/clk/mvebu/armada-37xx-periph.c:419:6: warning: unused variable ‘num_parents’ [-Wunused-variable]
int num_parents = clk_hw_get_num_parents(hw);
^~~~~~~~~~~
Remove the declaration of num_parents to dispose the warning.
Fixes: 616bf80d381d ("clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent")
Signed-off-by: Anders Roxell <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
