diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-08-04 14:24:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-05 15:38:54 +0100 |
commit | 8c62dbcb489aa038fcb9c73faa5c6b56f1f54902 (patch) | |
tree | 0383bcb4c148f2762cc58f9d88cfaf1b4a1a469a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c18abd00333b8b4c6432f4a6789aa02e3b18fdc8 (diff) |
ASoC: wcd938x: simplify return value
cppcheck warning:
sound/soc/codecs/wcd938x.c:3701:9: warning: Identical condition and
return expression 'ret', return value is always 0
[identicalConditionAfterEarlyExit]
return ret;
^
sound/soc/codecs/wcd938x.c:3691:6: note: If condition 'ret' is true,
the function will return/exit
if (ret)
^
sound/soc/codecs/wcd938x.c:3701:9: note: Returning identical expression 'ret'
return ret;
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210804192456.278702-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions