Re: [PATCH v2] sound: oss: Remove useless initialisation
From: Takashi Iwai
Date: Tue Jul 12 2016 - 02:18:57 EST
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@xxxxxxxxx>
> ---
> Changes in v2:
> -Modify commit message
Applied, thanks.
Takashi