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

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;