diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-13 14:52:27 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-08-14 08:49:26 +0200 |
commit | 66f4e0e43a0389a7f2814f0cc6df39019aead54f (patch) | |
tree | d754ff9f008059766d0e5dcb92b3b606afaa1338 /block | |
parent | ad709d4867985de0b239d01702f9ac6bb578099e (diff) | |
download | linux-stable-66f4e0e43a0389a7f2814f0cc6df39019aead54f.tar.gz linux-stable-66f4e0e43a0389a7f2814f0cc6df39019aead54f.tar.bz2 linux-stable-66f4e0e43a0389a7f2814f0cc6df39019aead54f.zip |
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 <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions