The gHTRifsMode field in tAniSirLim is written but never read. Since the field is ultimately unused, remove it. Change-Id: I7ad1f977d354bf80b66a1dc04c2afb8ca0f42719 CRs-Fixed: 2370782
@@ -641,8 +641,6 @@ typedef struct sAniSirLim {
/* Indicates whether an AP wants to associate PSMP enabled Stations */
uint8_t gHTControlledAccessOnly;
- /* RIFS Mode. Set if no APSD legacy devices associated */
- uint8_t gHTRifsMode;
/* OBss Mode . set when we have Non HT STA is associated or with in overlap bss */
uint8_t gHTObssMode;
@@ -2224,8 +2224,6 @@ handle_ht_capabilityand_ht_info(struct mac_context *mac,
mac->lim.gHTControlledAccessOnly =
(uint8_t)mac->mlme_cfg->ht_caps.info_field_1.
controlled_access_only;
- mac->lim.gHTRifsMode = (uint8_t)mac->mlme_cfg->ht_caps.info_field_1.
- rifs_mode;
mac->lim.gHTOperMode = (tSirMacHTOperatingMode)mac->mlme_cfg->ht_caps.
info_field_2.op_mode;