staging: rtl8192u: Remove typedef for struct.
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Tue, 26 Mar 2019 17:09:42 +0000 (22:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 14:33:27 +0000 (23:33 +0900)
commit49103a816a49c6f3da420dbcab97c47038109a61
treed34ecea3f33e5b42e99bdf983f8fe474a6dce16c
parentf40c9e3d7703e1af411aa0d163ce4ade1b333f93
staging: rtl8192u: Remove typedef for struct.

Challenge suggested by coccinelle.

Linux kernel coding style guidelines suggest not using typedefs for
structure.
The following Coccinelle semantic patch detects the cases for struct
type:

@tn@
identifier i;
type td;
@@

-typedef
 struct i { ... }
-td
 ;

@@
type tn.td;
identifier tn.i;
@@

-td
+ struct i

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211.h