aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2021-12-21 22:27:57 +0530
committerMark Brown <[email protected]>2021-12-21 18:05:39 +0000
commit2dc643cd756398c3013fcc2d3c2a07c9c4a0a3bd (patch)
tree2c08b75193e3d36dd9f12659d0ac612230f96703 /drivers/usb/cdns3/cdns3-debug.h
parent3bf4fb25d5c2455396a1decd43f5e6b775f0b377 (diff)
ASoC: SOF: AMD: simplify return status handling
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 <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Signed-off-by: Ajit Kumar Pandey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions