Browse Source

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>
Guenter Roeck 12 years ago
parent
commit
1073514b11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/extcon/extcon-gpio.c

+ 1 - 1
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;