commit | 2ea8db7200d40f89ebfb97fc512ced5f792e0e1c | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Apr 10 14:34:06 2020 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Apr 14 16:57:44 2020 +0100 |
tree | 9784b9db13f99cb58af7541413ce2be3ec51582d | |
parent | 29ebe87cdd57accdbe94e44a01685cb3227ad223 [diff] |
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>