diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-08-22 21:42:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-31 14:13:01 +0300 |
commit | 43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478 (patch) | |
tree | 57e201c54e20a2bf973ef2a8362716b3eef4f401 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c90d6054ff9d75bc185c48b798b745aa2c05236c (diff) | |
download | linux-43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478.tar.xz |
ASoC: wcd-mbhc-v2: remove always-true condition
cppcheck warning:
'cross_conn<0' is always true [knownConditionTrueFalse]
} else if (cross_conn < 0) /* Error */
^
'!cross_conn' is not redundant
} else if (!cross_conn) { /* no cross connection */
^
is always true
} else if (cross_conn < 0) /* Error */
^
sound/soc/codecs/wcd-mbhc-v2.c:1192:26: style: Condition
sound/soc/codecs/wcd-mbhc-v2.c:1188:15: note: Assuming that condition
sound/soc/codecs/wcd-mbhc-v2.c:1192:26: note: Condition 'cross_conn<0'
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Chao Song <chao.song@intel.com>
Link: https://lore.kernel.org/r/20220822184239.169757-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions