mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue