[alsa-devel] [PATCH v2] sound: oss: Remove useless initialisation

Takashi Iwai tiwai at suse.de
Tue Jul 12 08:18:52 CEST 2016


On Tue, 12 Jul 2016 05:24:35 +0200,
Amitoj Kaur Chawla wrote:
> 
> Remove useless initialisation of variable whose value is reinitialised
> later.
> 
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> type T;
> identifier x;
> constant C;
> expression e;
> @@
> 
> T x
> - = C
>  ;
> x = e;
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606 at gmail.com>
> ---
> Changes in v2:
>         -Modify commit message

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list