regulator: vctrl: Remove unneeded continue statement
Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c07608f737
commit
9e488c0a59
|
@ -334,10 +334,8 @@ static int vctrl_init_vtable(struct platform_device *pdev)
|
|||
ctrl_uV = regulator_list_voltage(ctrl_reg, i);
|
||||
|
||||
if (ctrl_uV < vrange_ctrl->min_uV ||
|
||||
ctrl_uV > vrange_ctrl->max_uV) {
|
||||
ctrl_uV > vrange_ctrl->max_uV)
|
||||
rdesc->n_voltages--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (rdesc->n_voltages == 0) {
|
||||
|
|
Loading…
Reference in New Issue