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:
Bard Liao 2017-12-21 11:21:33 +08:00 committed by Mark Brown
parent 2f8aab3d29
commit 790dde243f
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -178,8 +178,6 @@ int rl6231_pll_calc(const unsigned int freq_in,
for (n_t = 0; n_t <= max_n; n_t++) { for (n_t = 0; n_t <= max_n; n_t++) {
in_t = f_in * (n_t + 2); in_t = f_in * (n_t + 2);
pll_out = f_out * (k_t + 2); pll_out = f_out * (k_t + 2);
if (in_t < 0)
continue;
if (in_t == pll_out) { if (in_t == pll_out) {
bypass = true; bypass = true;
n = n_t; n = n_t;