diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-10-14 00:53:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-14 02:18:20 +0200 |
commit | 0f2a84f41aff6cefd1bc768738159d0cacea2f2d (patch) | |
tree | 93f42083873bbdabe6def5751ca0d3cff835dabd /fs/nfs/nfs4trace.h | |
parent | rtc-cmos: fix wakeup from S5 without CONFIG_PM_SLEEP (diff) | |
download | linux-0f2a84f41aff6cefd1bc768738159d0cacea2f2d.tar.xz 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/nfs/nfs4trace.h')
0 files changed, 0 insertions, 0 deletions