diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-08-18 11:44:28 +0100 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-08-18 15:47:58 +0200 |
commit | 783ea37c7b52ae088e8c64581fbe412b5dc9a878 (patch) | |
tree | 286f18e858f1548742e8414493a25bf6d39b2838 /drivers/mtd/nand/raw/stm32_fmc2_nand.c | |
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 <andrew.goodbody@linaro.org>
[jf: update description]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'drivers/mtd/nand/raw/stm32_fmc2_nand.c')
0 files changed, 0 insertions, 0 deletions