mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
ASoC: rl6231: remove never matched if condition
(in_t < 0) will never be true since in_t is unsigned. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2f8aab3d29
commit
790dde243f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user