Commit d1d1a96b authored by Larry Finger's avatar Larry Finger Committed by Kalle Valo

rtlwifi: rtl8188ee: Remove local configuration variable

The configuration variable IS_LITTLE_ENDIAN is replaced by the standard
__LITTLE_ENDIAN. In addition, an unused struct is removed.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e53e30ba
...@@ -560,17 +560,7 @@ static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) ...@@ -560,17 +560,7 @@ static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size)
rxmcs == DESC92C_RATE5_5M ||\ rxmcs == DESC92C_RATE5_5M ||\
rxmcs == DESC92C_RATE11M) rxmcs == DESC92C_RATE11M)
#define IS_LITTLE_ENDIAN 1
struct phy_rx_agc_info_t {
#if IS_LITTLE_ENDIAN
u8 gain:7, trsw:1;
#else
u8 trsw:1, gain:7;
#endif
};
struct phy_status_rpt { struct phy_status_rpt {
struct phy_rx_agc_info_t path_agc[2];
u8 ch_corr[2]; u8 ch_corr[2];
u8 cck_sig_qual_ofdm_pwdb_all; u8 cck_sig_qual_ofdm_pwdb_all;
u8 cck_agc_rpt_ofdm_cfosho_a; u8 cck_agc_rpt_ofdm_cfosho_a;
...@@ -587,7 +577,7 @@ struct phy_status_rpt { ...@@ -587,7 +577,7 @@ struct phy_status_rpt {
u8 stream_target_csi[2]; u8 stream_target_csi[2];
u8 sig_evm; u8 sig_evm;
u8 rsvd_3; u8 rsvd_3;
#if IS_LITTLE_ENDIAN #if defined(__LITTLE_ENDIAN)
u8 antsel_rx_keep_2:1; /*ex_intf_flg:1;*/ u8 antsel_rx_keep_2:1; /*ex_intf_flg:1;*/
u8 sgi_en:1; u8 sgi_en:1;
u8 rxsc:2; u8 rxsc:2;
...@@ -595,7 +585,7 @@ struct phy_status_rpt { ...@@ -595,7 +585,7 @@ struct phy_status_rpt {
u8 r_ant_train_en:1; u8 r_ant_train_en:1;
u8 ant_sel_b:1; u8 ant_sel_b:1;
u8 ant_sel:1; u8 ant_sel:1;
#else /* _BIG_ENDIAN_ */ #else /* __BIG_ENDIAN */
u8 ant_sel:1; u8 ant_sel:1;
u8 ant_sel_b:1; u8 ant_sel_b:1;
u8 r_ant_train_en:1; u8 r_ant_train_en:1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment