summaryrefslogtreecommitdiff
path: root/drivers/mfd/smsc-ece1099.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/smsc-ece1099.c')
-rw-r--r--drivers/mfd/smsc-ece1099.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/smsc-ece1099.c b/drivers/mfd/smsc-ece1099.c
index 7f89e89b8a5e..2aaf89fa66c3 100644
--- a/drivers/mfd/smsc-ece1099.c
+++ b/drivers/mfd/smsc-ece1099.c
@@ -36,7 +36,7 @@ static int smsc_i2c_probe(struct i2c_client *i2c,
{
struct smsc *smsc;
int devid, rev, venid_l, venid_h;
- int ret = 0;
+ int ret;
smsc = devm_kzalloc(&i2c->dev, sizeof(struct smsc),
GFP_KERNEL);