diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-02-06 10:55:18 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-02-06 16:12:36 +0300 |
| commit | 05f5504b161054bdce74eef5d9ff602bbebaeca8 (patch) | |
| tree | 21d61e9680c0d464c11f4c88482aedadbb161017 /include/linux | |
| parent | 983272a2a223de59dbb4cb189aa4d02d7156d209 (diff) | |
| download | linux-05f5504b161054bdce74eef5d9ff602bbebaeca8.tar.xz | |
ASoC: codecs: Fix unsigned comparison with less than zero
The val is defined as unsigned int type, if(val<0) is redundant, so
delete it.
sound/soc/codecs/idt821034.c:449 idt821034_kctrl_gain_put() warn: unsigned 'val' is never less than zero.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3947
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20230206075518.84169-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
