aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2022-08-22 18:42:36 +0000
committerMark Brown <[email protected]>2022-08-31 11:13:01 +0000
commit43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478 (patch)
tree57e201c54e20a2bf973ef2a8362716b3eef4f401 /lib/string_helpers.c
parentASoC: hdmi-codec: remove unused definitions (diff)
downloadkernel-43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478.tar.gz
kernel-43265ceeb0b9cb1f8f5fb182adaa6c2ed4941478.zip
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions