summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/power_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/power_i2c.c b/drivers/power/power_i2c.c
index dd22ece53c..8a8ea10e33 100644
--- a/drivers/power/power_i2c.c
+++ b/drivers/power/power_i2c.c
@@ -19,7 +19,6 @@
int pmic_reg_write(struct pmic *p, u32 reg, u32 val)
{
unsigned char buf[4] = { 0 };
- int ret;
if (check_reg(p, reg))
return -EINVAL;