diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-18 11:44:28 +0100 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2025-08-18 15:47:58 +0200 |
| commit | 783ea37c7b52ae088e8c64581fbe412b5dc9a878 (patch) | |
| tree | 286f18e858f1548742e8414493a25bf6d39b2838 /scripts/kernel-doc | |
| parent | 5deb50f749659746233e08060b457c9cf9986f9c (diff) | |
phy: cadence: sierra: Remove variable that is not assigned to
In cdns_sierra_pll_bind_of_clocks the variable 'i' is declared but never
assigned to before its value is used in a dev_err. Replace clk_names[i]
by the name passed to device_bind(), i.e., "pll_mux_clk". With that, the
clk_names[] array is unused and can therefore be removed.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
[jf: update description]
Signed-off-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
