mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
2dc643cd75
cppcheck warning: sound/soc/sof/amd/acp.c:222:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] return ret; ^ sound/soc/sof/amd/acp.c:213:6: note: If condition 'ret' is true, the function will return/exit if (ret) ^ sound/soc/sof/amd/acp.c:222:9: note: Returning identical expression 'ret' return ret; ^ Just return 0; on success. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> Link: https://lore.kernel.org/r/20211221165802.236843-1-AjitKumar.Pandey@amd.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
acp-dsp-offset.h | ||
acp-ipc.c | ||
acp-loader.c | ||
acp-pcm.c | ||
acp-stream.c | ||
acp-trace.c | ||
acp.c | ||
acp.h | ||
Kconfig | ||
Makefile | ||
pci-rn.c | ||
renoir.c |