staging: rtl8723bs: include: Remove unnecessary typedef.
PATCH v2 1/1 staging: rtl8723bs: include: Remove unnecessary typedef.
Typedef no longer affect the code.
Signed-off-by Sanjana Sanikommu <[email protected]>
---
Changes in v2:
Delete unnecessary typedef.
drivers/staging/rtl8723bs/include/ieee80211.h | 54 ------------------- 1 file changed, 54 deletions(-)
drivers/staging/rtl8723bs/include/ieee80211.h +0 -54
@@ -201,53 +201,6 @@ enum NETWORK_TYPE#define IsSupportedVHT (NetType) (((NetType) & (WIRELESS_11AC)) ? true : false) - -typedef struct ieee_param { -u32 cmd; -u8 sta_addr[ETH_ALEN ]; -union { -struct { -u8 name; -u32 value; - } wpa_param; -struct { -u32 len; -u8 reserved[32 ]; -u8 data[0 ]; - } wpa_ie; -struct { -int command; -int reason_code; - } mlme; -struct { -u8 alg[IEEE_CRYPT_ALG_NAME_LEN ]; -u8 set_tx; -u32 err; -u8 idx; -u8 seq[8 ];/* sequence counter (set: RX, get: TX) */ -u16 key_len; -u8 key[0 ]; - } crypt; -struct { -u16 aid; -u16 capability; -int flags; -u8 tx_supp_rates[16 ]; -struct rtw_ieee80211_ht_cap ht_cap; - } add_sta; -struct { -u8 reserved[2 ];/* for set max_num_sta */ -u8 buf[0 ]; - } bcn_ie; - } u; -}ieee_param ; - -typedef struct ieee_param_ex { -u32 cmd; -u8 sta_addr[ETH_ALEN ]; -u8 data[0 ]; -}ieee_param_ex ; -struct sta_data {u16 aid;u16 capability;
@@ -870,13 +823,6 @@ static inline int is_zero_mac_addr(const u8 *addr)#define CFG_IEEE80211_RESERVE_FCS (1<<0)#define CFG_IEEE80211_COMPUTE_FCS (1<<1) -typedef struct tx_pending_t { -int frag; -struct ieee80211_txb *txb; -}tx_pending_t ; - - -#define MAXTID 16#define IEEE_A (1<<0)
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 1 line · Sanjana Sanikommu
Typedef no longer affect the code.
I'm sorry, but I do not understand this sentence :(
Can you try to explain why you are doing what you are doing a bit better when you resend this?
thanks,
greg k-h