diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-05-22 14:25:59 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2018-09-28 08:57:21 +0300 |
commit | 838f4c73a353be28222593babeeac9edca1b1be0 (patch) | |
tree | 46760a176382d5fe84edca72c06b406e625582d5 /drivers | |
parent | 5cfe79c8d92ae1c4fcac35723fba43ff0b2e4e48 (diff) | |
download | linux-stable-838f4c73a353be28222593babeeac9edca1b1be0.tar.gz linux-stable-838f4c73a353be28222593babeeac9edca1b1be0.tar.bz2 linux-stable-838f4c73a353be28222593babeeac9edca1b1be0.zip |
iwlwifi: RX API: remove unnecessary anonymous struct
There's no value in having an anonymous struct for holding
a few fields, remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/api/rx.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/rx.h b/drivers/net/wireless/intel/iwlwifi/fw/api/rx.h index 2078ef425f8c..415b8842b426 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/api/rx.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/api/rx.h @@ -601,23 +601,21 @@ struct iwl_rx_mpdu_desc { */ u8 mac_phy_idx; /* DW4 - carries csum data only when rpa_en == 1 */ - struct { + /** + * @raw_csum: raw checksum (alledgedly unreliable) + */ + __le16 raw_csum; + + union { + /** + * @l3l4_flags: &enum iwl_rx_l3l4_flags + */ + __le16 l3l4_flags; + /** - * @raw_csum: raw checksum (alledgedly unreliable) + * @sigb_common2: for HE sniffer, HE-SIG-B common part 2 */ - __le16 raw_csum; - - union { - /** - * @l3l4_flags: &enum iwl_rx_l3l4_flags - */ - __le16 l3l4_flags; - - /** - * @sigb_common2: for HE sniffer, HE-SIG-B common part 2 - */ - __le16 sigb_common2; - }; + __le16 sigb_common2; }; /* DW5 */ /** |