Staging: rtl8723bs: Remove typedef in struct ieee_param_ex
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 15 Apr 2019 20:27:02 +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_ex, 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 9efb4dcb9d3a8f1d32544b3c8e9b5694da14a63d..8077465402c6eb4b32a1f8f361033a3c6f31d4ed 100644 (file)
@@ -242,11 +242,11 @@ typedef struct ieee_param {
        } u;
 }ieee_param;
 
-typedef struct ieee_param_ex {
+struct ieee_param_ex {
        u32 cmd;
        u8 sta_addr[ETH_ALEN];
        u8 data[0];
-}ieee_param_ex;
+};
 
 struct sta_data{
        u16 aid;