mirror of https://gitee.com/openkylin/linux.git
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:
parent
cb8bb3a772
commit
1073514b11
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue