From: Madhumitha Prabakaran Date: Mon, 15 Apr 2019 20:27:03 +0000 (-0500) Subject: Staging: rtl8723bs: Remove typedef in struct ieee_param X-Git-Tag: v5.2-rc1~153^2~102 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5ef6c5db04ffff21006099961c3c8acc5727b2c8;p=users%2Fjedix%2Flinux-maple.git Staging: rtl8723bs: Remove typedef in struct ieee_param 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 8077465402c6e..1327728e6dffb 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -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;