浏览代码

mfd: lm3533: Fix unused variable build warning

We were getting build warning about unused variable 'ret'.
The commit c749db571dcf has removed the use of ret but missed removing
the variable which is unused now.

Fixes: c749db571dcf ("mfd: lm3533: Simplify function return logic")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Sudip Mukherjee 10 年之前
父节点
当前提交
0a27186448
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mfd/lm3533-core.c

+ 0 - 1
drivers/mfd/lm3533-core.c

@@ -592,7 +592,6 @@ static int lm3533_i2c_probe(struct i2c_client *i2c,
 					const struct i2c_device_id *id)
 					const struct i2c_device_id *id)
 {
 {
 	struct lm3533 *lm3533;
 	struct lm3533 *lm3533;
-	int ret;
 
 
 	dev_dbg(&i2c->dev, "%s\n", __func__);
 	dev_dbg(&i2c->dev, "%s\n", __func__);