diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-08-12 18:19:38 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-13 13:16:15 +0100 |
commit | d2556edadbf2929dd7b04de59daeb0a571dc0349 (patch) | |
tree | d8479ccb71faa2a2a583e2ce2e17ba9f49a88df6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6f28c883b7ba8c611a842b4701eb4fb8bd76b70b (diff) |
ASoC: SOF: Intel: hda-stream: remove always true condition
We test if (!stream) and return and later on re-test for stream.
The second test is always true.
This was detected by cppcheck but only after additional code changes.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210812231940.172547-3-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