extcon: gpio: Do not unnecessarily initialize variables

Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
This commit is contained in:
Guenter Roeck 2013-08-29 21:29:33 -07:00 • committed by Chanwoo Choi
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;