Skip to content
Unverified Commit 1d165c5a authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown
Browse files

ASoC: codecs: tas2780: remove redundant assignments to variable ret



Variable ret is being assigned a value that is never read in a couple
of places. The variable is being re-assigned later on. The assignments
are redundant and can be removed.

Cleans up clang scan build warning:
sound/soc/codecs/tas2780.c:84:2: warning: Value stored to 'ret' is
never read [deadcode.DeadStores]

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Link: https://msgid.link/r/20240411083332.304887-1-colin.i.king@gmail.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 28d31ffa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment