diff options
| author | Pierre-Louis Bossart <[email protected]> | 2021-10-25 18:59:32 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-10-27 10:31:15 +0000 |
| commit | 439c06f341aa1f09ad7def774998db1076946c98 (patch) | |
| tree | a19e7c7650bfd833b329887297cc0c3f146218e5 /lib/string_helpers.c | |
| parent | ASoC: mediatek: mt8195: rename shadowed array (diff) | |
| download | kernel-439c06f341aa1f09ad7def774998db1076946c98.tar.gz kernel-439c06f341aa1f09ad7def774998db1076946c98.zip | |
ASoC: mediatek: mt8195: fix return value
cppcheck reports the following warning:
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c:1299:10: style: Variable
'ret' is assigned a value that is never used. [unreadVariable]
int ret = 0;
^
The suggested change aligns the implementation of
mt8195_afe_disable_etdm() with mt8195_afe_enable_etdm() - same
negative return value upon error.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
