Staging: lustre: obdclass: Remove typedefs for struct
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 4 Sep 2015 06:38:41 +0000 (12:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:47 +0000 (18:24 -0700)
commit2de5855cf96a798bc95cb13f94b6ba7a142f2f1f
tree3ae3f8c897b197e99808728d0a543bf4df871705
parenta8fff8bf6b8376ec14f3176c0601f2c318650ba0
Staging: lustre: obdclass: Remove typedefs for struct

The Linux kernel coding style guidelines suggest not using typedefs for
structure and enum types. This patch gets rid of the typedefs for
lu_site_stats_t.

The following Coccinelle semantic patch detects the cases for struct type:

@tn@
identifier i;
type td;
@@

-typedef
 struct i { ... }
-td
 ;

@@
type tn.td;
identifier tn.i;
@@

-td
+ struct i

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/lu_object.c