diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-05-20 16:17:07 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:35:10 +0100 |
commit | 0016361dfcc93a70850c6909fb76f15305dda5ae (patch) | |
tree | b42fe64d163f1b07d540d853d6a21650e1024e55 /tools/perf/scripts/python/flamegraph.py | |
parent | cac24a360a6b948ffb75c3d7ccc819064300454c (diff) |
ASoC: wcd9335: remove redundant tests
cppcheck warning:
sound/soc/codecs/wcd9335.c:1810:23: style: Condition 'tx_port>=4' is
always true [knownConditionTrueFalse]
} else if ((tx_port >= 4) && (tx_port < 8)) {
^
sound/soc/codecs/wcd9335.c:1806:15: note: Assuming that condition
'tx_port<4' is not redundant
if (tx_port < 4) {
^
sound/soc/codecs/wcd9335.c:1810:23: note: Condition 'tx_port>=4' is
always true
} else if ((tx_port >= 4) && (tx_port < 8)) {
^
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions