Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 9e488c0a authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: vctrl: Remove unneeded continue statement

parent c07608f7
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -334,10 +334,8 @@ static int vctrl_init_vtable(struct platform_device *pdev)
		ctrl_uV = regulator_list_voltage(ctrl_reg, i);
		ctrl_uV = regulator_list_voltage(ctrl_reg, i);


		if (ctrl_uV < vrange_ctrl->min_uV ||
		if (ctrl_uV < vrange_ctrl->min_uV ||
		    ctrl_uV > vrange_ctrl->max_uV) {
		    ctrl_uV > vrange_ctrl->max_uV)
			rdesc->n_voltages--;
			rdesc->n_voltages--;
			continue;
		}
	}
	}


	if (rdesc->n_voltages == 0) {
	if (rdesc->n_voltages == 0) {