staging: wlan-ng: avoid new typedef: p80211pstr_t
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 23 Sep 2016 13:45:20 +0000 (15:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:38:45 +0000 (12:38 +0200)
This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs

It applies for typedef p80211pstr_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211types.h

index e98bc19d1224fb7a9a630ea12fedc3e554e40346..b002ee8a1b4568336761939b7061e86f6078393f 100644 (file)
@@ -215,9 +215,9 @@ struct p80211enum {
 /*  messages. */
 
 /* Template pascal string */
-typedef struct p80211pstr {
+struct p80211pstr {
        u8 len;
-} __packed p80211pstr_t;
+} __packed;
 
 typedef struct p80211pstrd {
        u8 len;