Searched hist:f865346407ebb14dd5b6a759a356552856c714cf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/xircom/ |
H A D | xirc2ps_cs.c | diff f865346407ebb14dd5b6a759a356552856c714cf Sat Aug 09 11:00:59 CDT 2014 Himangi Saraogi <himangi774@gmail.com> ethernet: amd: Remove typedef local_info_t
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for local_info_t. Also, the name of the struct is changed to drop the _t, to make the name look less typedef-like.
The following Coccinelle semantic patch detects the case:
@tn@ identifier i; type td; @@
-typedef struct i { ... } -td ;
@@ type tn.td; identifier tn.i; @@
-td + struct i
Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
|