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
Bu işleme şunda yer alıyor:
Jeff Johnson
2018-12-16 14:20:53 -08:00
ebeveyn 5e6275c7d5
işleme 8977d22dc7
2 değiştirilmiş dosya ile 0 ekleme ve 6 silme

Dosyayı Görüntüle

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

Dosyayı Görüntüle

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