Staging: rtl8723bs: Remove typedef in struct ieee_param
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 15 Apr 2019 20:27:03 +0000 (15:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:45:40 +0000 (13:45 +0200)
Remove typedef in struct ieee_param, as the struct that
has elements that can reasonably be directly accessed
should never be a typedef.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/ieee80211.h

index 8077465402c6eb4b32a1f8f361033a3c6f31d4ed..1327728e6dffb7360833d7b7b515fb292fd32cb3 100644 (file)
@@ -202,7 +202,7 @@ enum NETWORK_TYPE
 #define IsSupportedVHT(NetType) (((NetType) & (WIRELESS_11AC)) ? true : false)
 
 
-typedef struct ieee_param {
+struct ieee_param {
        u32 cmd;
        u8 sta_addr[ETH_ALEN];
        union {
@@ -240,7 +240,7 @@ typedef struct ieee_param {
                        u8 buf[0];
                } bcn_ie;
        } u;
-}ieee_param;
+};
 
 struct ieee_param_ex {
        u32 cmd;