diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2022-04-10 15:07:55 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-04-22 11:08:56 +0200 |
commit | 6bdfc9beeced467c31b0cc97367f308adffa9816 (patch) | |
tree | ac44c124f47a058e2ef2081e7ae292ca04fdb136 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 338d5d476cde853dfd97378d20496baabc2ce3c0 (diff) |
ARM: OMAP1: clock: Remove unused code
The code of OMAP1 clocks contains quite a few unused elements:
- functions and function like macros never called: clk_reparent(),
recalculate_root_clocks(), clk_enable_init_clocks(),
omap_clk_get_by_name(), omap_clk_disable_autoidle_all(),
__clk_get_parent(clk), __clk_get_rate(),
- unused structure fields:
- clkops: .find_idlest(), .find_companion(), .deny_idle(),
- clk: .src_offset, as well as .clkdm -- no longer present but still
mentioned in comments,
- definitions of unused flags: INVERT_ENABLE, CLOCK_CLKOUTX2,
- definitions of unused data types: struct clk_functions,
- prototypes of functions with no implementation: clk_init(),
omap1_watchdog_recalc().
- declarations of never defined global variables: clkops_dummy.
Drop them.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions