Re: [PATCH 5/5] staging: lustre: osc: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
On Sat, 20 Jun 2015, Joachim Eastwood wrote: > On 20 June 2015 at 21:07, Julia Lawall wrote: > > Remove initialization of a variable that is immediately reassigned. > > > > The semantic patch that makes this change is as follows: > > (http://coccinelle.lip6.fr/) > > > > // > > @@ > > type T; > >

Re: [PATCH 5/5] staging: lustre: osc: drop trivially useless initialization

2015-06-20 Thread Joachim Eastwood
On 20 June 2015 at 21:07, Julia Lawall wrote: > Remove initialization of a variable that is immediately reassigned. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > type T; > identifier x; > constant C; > expression e; > @@ > > T x > - = C

[PATCH 5/5] staging: lustre: osc: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // Signed-off-by: Julia Lawall --- drivers/staging/lustre/l