staging: lustre: llite: drop trivially useless initialization
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 20 Jun 2015 19:07:50 +0000 (21:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jul 2015 02:37:04 +0000 (19:37 -0700)
commitf82ced5d6bce6cd0719e95f744bfeb8f81677790
tree9f771a9c5dd0517c60ec7b2838cee4cb41a88a09
parent597851ac2ae4e3857f2ab410adb0775951a09fa0
staging: lustre: llite: drop trivially useless initialization

Remove initialization of a variable that is immediately reassigned.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
identifier x;
constant C;
expression e;
@@

T x
- = C
 ;
x = e;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/xattr_cache.c