Commit 3045b5d6 authored by zhong jiang's avatar zhong jiang Committed by Guenter Roeck

hwmon: (scpi-hwmon) remove redundant continue

The continue will not truely skip any code. hence it is safe to
remove it.
Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0599682b
......@@ -286,10 +286,8 @@ static int scpi_hwmon_probe(struct platform_device *pdev)
* any thermal zones or if the thermal subsystem is
* not configured.
*/
if (IS_ERR(z)) {
if (IS_ERR(z))
devm_kfree(dev, zone);
continue;
}
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment