Skip to contentSkip to conversation

regulator: s5m8767: Fix unused variable warning in probe()

PATCH In review Mark Brown 2 participants 2 messages Feb 6, 2012 – Feb 7, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: s5m8767: Fix unused variable warning in probe()

---
 drivers/regulator/s5m8767.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/s5m8767.c +1 -1
index 5b00e5a..2fb2add 100644
@@ -569,7 +569,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
 	struct regulator_dev **rdev;
 	struct s5m8767_info *s5m8767;
 	struct i2c_client *i2c;
-	int i, ret, size, reg;
+	int i, ret, size;
 
 	if (!pdata) {
 		dev_err(pdev->dev.parent, "Platform data not supplied\n");
Signature · 1 line
1.7.9.rc1