diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-08 00:39:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-08 03:02:58 +0400 |
commit | f073d52d63e01f4ac40105c63995a84930c2ee96 (patch) | |
tree | 87304b85e21f22fc8feaecce540f9404d8833893 /drivers/net/ethernet/8390 | |
parent | 4e48ed883c72e78c5a910f8831ffe90c9b18f0ec (diff) | |
download | linux-f073d52d63e01f4ac40105c63995a84930c2ee96.tar.xz |
drivers/net: ethernet: Remove typedef for struct and enum
The Linux kernel coding style guidelines suggest not using typedefs
for structure and enum types. This patch gets rid of the typedef for
cardtype_t and local_info_t. Also, the names of the struct and enum
are changed to drop the _t, to make the name look less typedef-like.
The following Coccinelle semantic patch detects the case for struct type:
@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>
Diffstat (limited to 'drivers/net/ethernet/8390')
0 files changed, 0 insertions, 0 deletions