diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-10-13 15:53:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-14 02:18:20 +0200 |
commit | 0f2a84f41aff6cefd1bc768738159d0cacea2f2d (patch) | |
tree | 93f42083873bbdabe6def5751ca0d3cff835dabd /fs/nilfs2/file.c | |
parent | a882b14fe84951e236cd074e93575adc8a4be32e (diff) | |
download | linux-0f2a84f41aff6cefd1bc768738159d0cacea2f2d.tar.gz linux-0f2a84f41aff6cefd1bc768738159d0cacea2f2d.tar.bz2 linux-0f2a84f41aff6cefd1bc768738159d0cacea2f2d.zip |
fs/befs/btree.c: remove typedef befs_btree_node
The Linux kernel coding style guidelines suggest not using typedefs for
structure types. This patch gets rid of the typedef for befs_btree_node.
The following Coccinelle semantic patch detects the case.
@tn1@
type td;
@@
typedef struct { ... } td;
@script:python tf@
td << tn1.td;
tdres;
@@
coccinelle.tdres = td;
@@
type tn1.td;
identifier tf.tdres;
@@
-typedef
struct
+ tdres
{ ... }
-td
;
@@
type tn1.td;
identifier tf.tdres;
@@
-td
+ struct tdres
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/file.c')
0 files changed, 0 insertions, 0 deletions