Lee Jones b89a5effb3
regulator: cpcap-regulator: Remove declared and set, but never used variable 'ignore'
It's okay to not check the return value that you're not conserned
about, however it is not okay to assign a variable and not check or
use the result.

Fixes W=1 warnings(s):

 drivers/regulator/cpcap-regulator.c:172:13: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable]
 172 | int error, ignore;
 | ^~~~~~
 drivers/regulator/cpcap-regulator.c: In function ‘cpcap_regulator_disable’:
 drivers/regulator/cpcap-regulator.c:196:13: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable]
 196 | int error, ignore;
 | ^~~~~~

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200625163614.4001403-8-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-06-25 20:11:15 +01:00
..
2020-05-08 18:18:13 +01:00
2020-05-08 18:18:13 +01:00
2020-06-15 23:06:30 +01:00
2019-06-18 19:12:47 +01:00
2020-05-08 18:18:13 +01:00
2020-03-16 18:27:35 +00:00
2020-05-08 18:18:13 +01:00
2019-10-23 15:31:17 -04:00
2019-12-17 13:08:41 -08:00
2020-05-08 18:18:13 +01:00