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.comSigned-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment