diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-03-24 17:13:50 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-24 18:41:02 +0000 |
commit | c635df496a5c397fd078b4e72a42e1be79632d7d (patch) | |
tree | dd111ced36a03fb19a94919d4f095b88bc7d47bd /drivers/regulator/core.c | |
parent | d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff) |
regulator: twl6030: remove redundant range check min_uV > 1300000 && min_uV <= 1350000
It has been pointed out to me that the range for vsel = 58 is actually
dead code as this is covered by an earlier check for (min_uV >= 700000)
&& (min_uV <= 1420000) so remove that check completely.
Reported-by: Alban Auzeill <alban.auzeill@sonarsource.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions