From: Madhumitha Prabakaran Date: Mon, 15 Apr 2019 20:27:02 +0000 (-0500) Subject: Staging: rtl8723bs: Remove typedef in struct ieee_param_ex X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=74941703accd4a94e7a74c31050d7985216b7034;p=linux.git Staging: rtl8723bs: Remove typedef in struct ieee_param_ex 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h index 9efb4dcb9d3a8..8077465402c6e 100644 --- a/drivers/staging/rtl8723bs/include/ieee80211.h +++ b/drivers/staging/rtl8723bs/include/ieee80211.h @@ -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;