diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-08-22 20:42:36 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-08-31 12:13:01 +0100 |
commit | 43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478 (patch) | |
tree | 57e201c54e20a2bf973ef2a8362716b3eef4f401 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c90d6054ff9d75bc185c48b798b745aa2c05236c (diff) |
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 <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Chao Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions