diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-06-14 09:17:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-14 14:59:17 +0100 |
commit | 12ffd726824a2f52486f72338b6fd3244b512959 (patch) | |
tree | 82441b37e40ff8907baafe5453d8790611ac23a2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 68912ebf4d4e50ac4fd41fb9879de9a6b832f7c7 (diff) |
ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
In case, where the loops are not executed for a reason, the uninitialized
variable 'err' is returned to the caller. Make code fully predictible
and assign zero in the declaration.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Cc: Mark Brown <broonie@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20210614071746.1787072-1-perex@perex.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions