diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-12 12:22:43 -0600 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-03-18 13:50:52 +0000 |
| commit | 2e40b21cd4f697a761f1c5e4f08aac1a5c6c6018 (patch) | |
| tree | 0377db7eea978b46e66dedbc6cd1287ec3b6f774 /scripts/gdb/linux/utils.py | |
| parent | e83c47861c266f704d2344f51031ee67a93309ab (diff) | |
ASoC: tas2562: remove warning on return value
cppcheck warning:
sound/soc/codecs/tas2562.c:530:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit]
return ret;
^
sound/soc/codecs/tas2562.c:525:6: note: If condition 'ret' is true, the function will return/exit
if (ret)
^
sound/soc/codecs/tas2562.c:530:9: note: Returning identical expression 'ret'
return ret;
^
Fix with return 0
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210312182246.5153-21-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
