Commit 790dde24 authored by Bard Liao's avatar Bard Liao Committed by Mark Brown

ASoC: rl6231: remove never matched if condition

(in_t < 0) will never be true since in_t is unsigned.
Signed-off-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2f8aab3d
......@@ -178,8 +178,6 @@ int rl6231_pll_calc(const unsigned int freq_in,
for (n_t = 0; n_t <= max_n; n_t++) {
in_t = f_in * (n_t + 2);
pll_out = f_out * (k_t + 2);
if (in_t < 0)
continue;
if (in_t == pll_out) {
bypass = true;
n = n_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment