diff options
author | 2022-04-10 15:07:55 +0200 | |
---|---|---|
committer | 2022-04-22 11:08:56 +0200 | |
commit | 6bdfc9beeced467c31b0cc97367f308adffa9816 (patch) | |
tree | ac44c124f47a058e2ef2081e7ae292ca04fdb136 /scripts/gdb/linux/utils.py | |
parent | ARM: OMAP1: clock: Fix UART rate reporting algorithm (diff) | |
download | linux-dev-6bdfc9beeced467c31b0cc97367f308adffa9816.tar.xz linux-dev-6bdfc9beeced467c31b0cc97367f308adffa9816.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions