[PATCH] sound/soc/codecs: remove redundant ret variable

Charles Keepax ckeepax at opensource.cirrus.com
Mon Jan 10 10:47:54 CET 2022


On Mon, Jan 10, 2022 at 01:28:33AM +0000, cgel.zte at gmail.com wrote:
> From: Minghao Chi <chi.minghao at zte.com.cn>
> 
> Return value from devm_snd_soc_register_component() directly instead
> of taking this in another redundant variable.
> 
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Minghao Chi <chi.minghao at zte.com.cn>
> Signed-off-by: CGEL ZTE <cgel.zte at gmail.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list