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:
@@ -561,9 +561,6 @@ typedef struct sAniSirLim {
|
|||||||
uint32_t gLimNumPreAuthContexts;
|
uint32_t gLimNumPreAuthContexts;
|
||||||
tLimPreAuthTable gLimPreAuthTimerTable;
|
tLimPreAuthTable gLimPreAuthTimerTable;
|
||||||
|
|
||||||
/* Placed holder to deauth reason */
|
|
||||||
uint16_t gLimDeauthReasonCode;
|
|
||||||
|
|
||||||
/* Place holder for Pre-authentication node list */
|
/* Place holder for Pre-authentication node list */
|
||||||
struct tLimPreAuthNode *pLimPreAuthList;
|
struct tLimPreAuthNode *pLimPreAuthList;
|
||||||
|
|
||||||
|
@@ -220,9 +220,6 @@ static void __lim_init_assoc_vars(struct mac_context *mac)
|
|||||||
qdf_mem_set(&mac->lim.gLimPreAuthTimerTable, sizeof(tLimPreAuthTable),
|
qdf_mem_set(&mac->lim.gLimPreAuthTimerTable, sizeof(tLimPreAuthTable),
|
||||||
0);
|
0);
|
||||||
|
|
||||||
/* Placed holder to deauth reason */
|
|
||||||
mac->lim.gLimDeauthReasonCode = 0;
|
|
||||||
|
|
||||||
/* Place holder for Pre-authentication node list */
|
/* Place holder for Pre-authentication node list */
|
||||||
mac->lim.pLimPreAuthList = NULL;
|
mac->lim.pLimPreAuthList = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user