Răsfoiți Sursa

qcacld-3.0: Remove gHTRifsMode from tAniSirLim

The gHTRifsMode field in tAniSirLim is written but never read.
Since the field is ultimately unused, remove it.

Change-Id: I7ad1f977d354bf80b66a1dc04c2afb8ca0f42719
CRs-Fixed: 2370782
Jeff Johnson 6 ani în urmă
părinte
comite
5e6275c7d5

+ 0 - 2
core/mac/inc/ani_global.h

@@ -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;
 

+ 0 - 2
core/mac/src/pe/lim/lim_process_message_queue.c

@@ -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;