Files
linux/sound/soc/codecs
Pierre-Louis Bossart 94f8f2068e 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 <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220520211719.607543-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-06 12:35:08 +01:00
..
2021-04-20 17:25:51 +01:00
2022-05-04 15:31:20 +01:00
2022-06-06 12:35:08 +01:00
2021-03-31 18:00:38 +01:00
2022-05-04 15:30:32 +01:00
2022-04-26 15:13:40 +01:00
2018-04-26 12:44:15 +01:00
2021-10-02 01:31:58 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2022-05-04 15:30:32 +01:00
2022-01-28 15:59:20 +00:00
2021-12-06 10:04:05 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-02 21:05:29 +01:00
2022-05-09 19:04:36 +01:00
2022-05-04 15:30:32 +01:00