提交 1073514b 编写于 作者: G Guenter Roeck 提交者: Chanwoo Choi

extcon: gpio: Do not unnecessarily initialize variables

Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 cb8bb3a7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册