regulator: max8660: remove redundant assignment of variable ret
authorColin Ian King <colin.king@canonical.com>
Tue, 13 Aug 2019 13:31:14 +0000 (14:31 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 15 Aug 2019 14:09:21 +0000 (15:09 +0100)
commit9e127fab67e3ec4451696da0c7872fd291b9372b
tree7ea9b04a439b605344e1655f1af1786091da2bb8
parentd9df0187b6edd5871255cee29128c63f134e599c
regulator: max8660: remove redundant assignment of variable ret

Variable ret is initialized to a value that is never read before
a return statement and hence can be removed. Remove it.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190813133114.14931-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8660.c