mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
0599682b82
commit
3045b5d61a
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue