diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-08-13 15:01:35 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-08-18 11:50:15 +0100 |
| commit | b66a056e1539d8470013fff00f476377a616baa3 (patch) | |
| tree | a6a8ef66ab21e26351a07c121887c18fca2bdcc1 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | eeb460f21250d46e5fa8e8429c38de47fe912481 (diff) | |
ASoC: Intel: Atom: sst_loader: remove always-true condition
Fix cppcheck warning:
sound/soc/intel/atom/sst/sst_loader.c:401:43: style: Redundant
condition: If 'EXPR == 4', the comparison 'EXPR != 3' is always
true. [redundantCondition]
if (sst_drv_ctx->sst_state != SST_RESET ||
^
In this case, if sst_state == SST_SHUTDOWN then the first test is
already true. 2014 bug, yay.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813200147.61990-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
