From: Sudip Mukherjee Date: Wed, 7 Oct 2015 12:28:48 +0000 (+0530) Subject: mfd: lm3533: Fix unused variable build warning X-Git-Tag: KARO-TX6UL-2015-11-03~71^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a27186448f17cb1b6734bb302cc1299008e91e9;p=karo-tx-linux.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c index 193ecee1fa7e..5abcbb2e8849 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__);