summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s2mpa01.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-04-10 14:34:06 +0100
committerMark Brown <broonie@kernel.org>2020-04-14 16:57:44 +0100
commit2ea8db7200d40f89ebfb97fc512ced5f792e0e1c (patch)
tree9784b9db13f99cb58af7541413ce2be3ec51582d /drivers/regulator/s2mpa01.c
parent29ebe87cdd57accdbe94e44a01685cb3227ad223 (diff)
downloadlinux-2ea8db7200d40f89ebfb97fc512ced5f792e0e1c.tar.bz2
regulator: tps80031: remove redundant assignment to variables ret and val
The variables ret and val are being initialized with values that are never read and are being updated later with a new value. The initializations are redundant and can be removed. Signed-off-by: Colin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Unused value") Link: https://lore.kernel.org/r/20200410133406.24458-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/s2mpa01.c')
0 files changed, 0 insertions, 0 deletions