diff options
| author | Himangi Saraogi <[email protected]> | 2014-08-13 14:52:27 +0530 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2014-08-14 08:49:26 +0200 |
| commit | 66f4e0e43a0389a7f2814f0cc6df39019aead54f (patch) | |
| tree | d754ff9f008059766d0e5dcb92b3b606afaa1338 /tools/perf/scripts/python/netdev-times.py | |
| parent | ad709d4867985de0b239d01702f9ac6bb578099e (diff) | |
Bluetooth: Remove typedefs nsh_t and dtl1_info_t
The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedefs for nsh_t and
dtl1_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 for dtl1_info_t
and a similar patch finds the nsh_t case:
@tn@
identifier i;
type td;
@@
-typedef
struct i { ... }
-td
;
@@
type tn.td;
identifier tn.i;
@@
-td
+ struct i
Signed-off-by: Himangi Saraogi <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions