]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: amd: Remove typedef local_info_t
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 9 Aug 2014 16:00:59 +0000 (21:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 19:19:53 +0000 (12:19 -0700)
commitf505d975557a0ff2e1603c637af542b36d921c81
tree604be374c14b7507c463ca06fc2cba426f51d02b
parentc19996ddaf9481281b440881ab0f7e8627d3eaf8
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>
drivers/net/ethernet/xircom/xirc2ps_cs.c