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>
This commit is contained in:
Guenter Roeck 2013-08-29 21:29:33 -07:00 committed by Chanwoo Choi
parent cb8bb3a772
commit 1073514b11

View File

@ -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;