hwmon: (scpi-hwmon) remove redundant continue

The continue will not truely skip any code. hence it is safe to
remove it.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
zhong jiang 2018-09-21 09:30:03 +08:00 committed by Guenter Roeck
parent 0599682b82
commit 3045b5d61a

View file

@ -286,10 +286,8 @@ static int scpi_hwmon_probe(struct platform_device *pdev)
* any thermal zones or if the thermal subsystem is * any thermal zones or if the thermal subsystem is
* not configured. * not configured.
*/ */
if (IS_ERR(z)) { if (IS_ERR(z))
devm_kfree(dev, zone); devm_kfree(dev, zone);
continue;
}
} }
return 0; return 0;