Skip to content
Unverified Commit e0550fff authored by Jinpeng Cui's avatar Jinpeng Cui Committed by Mark Brown
Browse files

ASoC: codecs: max98088: remove redundant ret variable



Return value from devm_snd_soc_register_component() directly
instead of taking this in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJinpeng Cui <cui.jinpeng2@zte.com.cn>
Link: https://lore.kernel.org/r/20220829091319.266068-1-cui.jinpeng2@zte.com.cn
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5b7f4e5d
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