diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-12 12:22:25 -0600 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-03-18 13:50:35 +0000 |
| commit | ca6b3a6ca047d23b9b2a54af9f7f4d6f41200719 (patch) | |
| tree | 703726b83e273cd13938c2912e24c5c36905dc4c /scripts/gdb/linux | |
| parent | 73b4fe4a03db519977a22cdf34303bd0ac21c69d (diff) | |
ASoC: ad1836: remove useless return
Cppcheck warning:
sound/soc/codecs/ad1836.c:311:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit]
return ret;
^
sound/soc/codecs/ad1836.c:308:6: note: If condition 'ret' is true, the function will return/exit
if (ret)
^
sound/soc/codecs/ad1836.c:311:9: note: Returning identical expression 'ret'
return ret;
^
Likely copy/paste between adc and dac cases.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210312182246.5153-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions
