Re: [PATCH v2] sound: oss: Remove useless initialisation

2016-07-12 Thread Takashi Iwai
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 >

Re: [PATCH v2] sound: oss: Remove useless initialisation

2016-07-12 Thread Takashi Iwai
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 >

[PATCH v2] sound: oss: Remove useless initialisation

2016-07-11 Thread Amitoj Kaur Chawla
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 --- Changes in

[PATCH v2] sound: oss: Remove useless initialisation

2016-07-11 Thread Amitoj Kaur Chawla
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 --- Changes in v2: -Modify