qcacld-3.0: Remove gLimDeauthReasonCode from tAniSirLim

The gLimDeauthReasonCode field in tAniSirLim is initialized to 0 but
is otherwise never referenced. Since the field is ultimately unused,
remove it.

Change-Id: Ic3da451c4b3540ba72d45a1f03b0e89cc2ece725
CRs-Fixed: 2370783
This commit is contained in:
Jeff Johnson 2018-12-16 14:20:53 -08:00
parent 5e6275c7d5
commit 8977d22dc7
2 changed files with 0 additions and 6 deletions

View File

@ -561,9 +561,6 @@ typedef struct sAniSirLim {
uint32_t gLimNumPreAuthContexts;
tLimPreAuthTable gLimPreAuthTimerTable;
/* Placed holder to deauth reason */
uint16_t gLimDeauthReasonCode;
/* Place holder for Pre-authentication node list */
struct tLimPreAuthNode *pLimPreAuthList;

View File

@ -220,9 +220,6 @@ static void __lim_init_assoc_vars(struct mac_context *mac)
qdf_mem_set(&mac->lim.gLimPreAuthTimerTable, sizeof(tLimPreAuthTable),
0);
/* Placed holder to deauth reason */
mac->lim.gLimDeauthReasonCode = 0;
/* Place holder for Pre-authentication node list */
mac->lim.pLimPreAuthList = NULL;