diff options
author | Colin Ian King <[email protected]> | 2024-02-16 13:49:18 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-19 16:59:35 +0000 |
commit | 055100d1a3b27ce154b3e3041d3cef24778821b3 (patch) | |
tree | 7e430940ae0b961e49da86702a817c9dc191bb2f /scripts/generate_rust_analyzer.py | |
parent | 6037733963b8d4cd9ff9c1cabd3017ac5c1af1af (diff) |
regulator: core: Remove redundant assignment to variable possible_uV
The variable possible_uV being assigned a value that is never read, the
control flow via the following goto statement takes a path where the
variable is not accessed. The assignment is redundant and can be removed.
Cleans up clang scan build warning:
drivers/regulator/core.c:3935:3: warning: Value stored to 'possible_uV'
is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions