diff options
author | Colin Ian King <[email protected]> | 2023-11-11 19:53:30 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-11-13 01:26:31 +0000 |
commit | 1fc2e768ff28f096e9fb6438f0d01c3851c7cd68 (patch) | |
tree | d0c2b0ab73a88484fdddb20323314cf8f0bc6765 /scripts/generate_rust_analyzer.py | |
parent | 7993d3a9c34f609c02171e115fd12c10e2105ff4 (diff) |
regulator: palmas: remove redundant initialization of pointer pdata
Pointer pdata is being initialized with a value that is never read. It is
being re-assigned later on with the return from a devm_kzalloc call.
Remove the redundant initialization, cleans up clang scan build warning:
drivers/regulator/palmas-regulator.c:1597:36: warning: Value stored
to 'pdata' during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/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