diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-08-29 21:29:33 -0700 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-09-27 09:37:00 +0900 |
commit | 1073514b11c221081c7c1f4a14b3eee5365385fa (patch) | |
tree | e4657e8628ffbe8ca7e3eb3aeb7ffcb8d0f08e36 /drivers/extcon | |
parent | cb8bb3a77252bd431997a61456689c778510447c (diff) |
extcon: gpio: Do not unnecessarily initialize variables
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index f874c30ddbf..6368a0f3ae6 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c @@ -80,7 +80,7 @@ static int gpio_extcon_probe(struct platform_device *pdev) { struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data; struct gpio_extcon_data *extcon_data; - int ret = 0; + int ret; if (!pdata) return -EBUSY; |