diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-05-20 16:17:05 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:35:08 +0100 |
commit | 94f8f2068ed0e3a5e367029f64ed76e6e65d5eb3 (patch) | |
tree | d86d008d3ac8411d6d4d490014cbdd268359212c /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 0511e2ac4e848ceac14b3ac4b476f0e26b48ddb2 (diff) |
ASoC: cs42l42: remove redundant test
cppcheck warning:
sound/soc/codecs/cs42l42.c:1704:28: style: The statement 'if
(cs42l42->plug_state!=CS42L42_TS_TRANS)
cs42l42->plug_state=CS42L42_TS_TRANS' is logically equivalent to
'cs42l42->plug_state=CS42L42_TS_TRANS'. [duplicateConditionalAssign]
if (cs42l42->plug_state != CS42L42_TS_TRANS)
^
sound/soc/codecs/cs42l42.c:1705:25: note: Assignment
'cs42l42->plug_state=CS42L42_TS_TRANS'
cs42l42->plug_state = CS42L42_TS_TRANS;
^
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/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions