[PATCH 6/6] ASoC: samsung: tm2_wm5510: remove shadowing variable

Sylwester Nawrocki s.nawrocki at samsung.com
Tue Feb 23 12:30:47 CET 2021


On 20.02.2021 00:09, Pierre-Louis Bossart wrote:
> cppcheck warning:
> 
> sound/soc/samsung/tm2_wm5110.c:552:26: style: Local variable 'args'
> shadows outer variable [shadowVariable]
>   struct of_phandle_args args;

> it's not clear why there was a need for a local variable at a lower
> scope, remove it and share the same variable between scopes.

s/tm2_wm5510/tm2_wm5110

Reviewed-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
 


More information about the Alsa-devel mailing list