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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
 



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux