Browse Source

qcacld-3.0: Remove an unused local variable

Remove the local variable selfStaDot11Mode from function
lim_process_sta_mlm_add_bss_rsp_ft as it is not used anymore.

Change-Id: I642ed6ef9f61aa5d30882cc5cbd5d356b56a1573
CRs-Fixed: 2626419
wadesong 5 years ago
parent
commit
a0000d5747
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/mac/src/pe/lim/lim_process_mlm_host_roam.c

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

@@ -380,7 +380,6 @@ void lim_process_sta_mlm_add_bss_rsp_ft(struct mac_context *mac,
 	tpDphHashNode sta = NULL;
 	tpAddStaParams pAddStaParams = NULL;
 	uint32_t listenInterval = MLME_CFG_LISTEN_INTERVAL;
-	uint32_t selfStaDot11Mode = 0;
 
 	/* Sanity Checks */
 
@@ -508,7 +507,6 @@ void lim_process_sta_mlm_add_bss_rsp_ft(struct mac_context *mac,
 	listenInterval = mac->mlme_cfg->sap_cfg.listen_interval;
 	pAddStaParams->listenInterval = (uint16_t) listenInterval;
 
-	selfStaDot11Mode = mac->mlme_cfg->dot11_mode.dot11_mode;
 	pAddStaParams->encryptType = pe_session->encryptType;
 	pAddStaParams->maxTxPower = pe_session->maxTxPower;