diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-10-07 12:28:48 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 17:19:52 (GMT) |
commit | 0a27186448f17cb1b6734bb302cc1299008e91e9 (patch) | |
tree | f9765b67afd84e61285adef81a0f4ab391c15f66 /drivers/mfd/lm3533-core.c | |
parent | ce6a5acc93876f619f32f8f60c7c6e549e46d962 (diff) | |
download | linux-0a27186448f17cb1b6734bb302cc1299008e91e9.tar.xz |
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>
Diffstat (limited to 'drivers/mfd/lm3533-core.c')
-rw-r--r-- | drivers/mfd/lm3533-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c index 193ecee1..5abcbb2 100644 --- a/drivers/mfd/lm3533-core.c +++ b/drivers/mfd/lm3533-core.c @@ -592,7 +592,6 @@ static int lm3533_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) { struct lm3533 *lm3533; - int ret; dev_dbg(&i2c->dev, "%s\n", __func__); |