diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-05-20 16:17:18 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:35:21 +0100 |
commit | 0c57064e3fdba9bb76086b9a6e318eb0cef24b69 (patch) | |
tree | 16cfe36b42b3ec45a5a4a91c60114154b70d1e98 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 59a6cc5c5d64ca20461fec46e450e0639b1e6410 (diff) |
ASoC: samsung: snow: simplify error handling
cppcheck warning:
sound/soc/samsung/snow.c:219:9: warning: Identical condition and
return expression 'ret', return value is always 0
[identicalConditionAfterEarlyExit]
return ret;
^
sound/soc/samsung/snow.c:215:6: note: If condition 'ret' is true, the
function will return/exit
if (ret)
^
sound/soc/samsung/snow.c:219:9: note: Returning identical expression
'ret'
return ret;
^
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions