diff options
| author | 2026-09-02 10:49:38 +0000 | |
|---|---|---|
| committer | 2026-09-07 10:55:30 +0200 | |
| commit | 6924d5d4973cc755c4ff0b87eae49ae5045d0828 (patch) | |
| tree | ee5276fb4e641daeb5556322d593bc923f315053 /scripts/Makefile.thinlto | |
| parent | clk: renesas: r9a08g046: Add PCIe clocks and reset (diff) | |
clk: renesas: rzv2h: Drop duplicated parent lookup in fixed_mod_status_clk_register()
rzv2h_cpg_fixed_mod_status_clk_register() looks up
priv->clks[core->parent] twice, with an IS_ERR() check after each
lookup. The second lookup is a leftover from an earlier refactor: the
value cannot have changed between the two reads, so the second IS_ERR()
check is dead code.
Drop the duplicated lookup and check.
No functional change intended.
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260902104939.25522-2-ovidiu.panait.rb@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
