qcacld-3.0: Remove fragSize from tDphHashNode
The fragSize member of tDphHashNode is initialized but is otherwise never modified or read. Since it is obsolete, remove it. Change-Id: I7cdf9c62b25d14f9d74ac5144def2a6d4e69ca7c CRs-Fixed: 2414654
This commit is contained in:
parent
223169db3f
commit
c9cc324545
@ -212,8 +212,6 @@ tpDphHashNode dph_init_sta_state(struct mac_context *mac, tSirMacAddr staAddr,
|
||||
uint16_t assocId, uint8_t validStaIdx,
|
||||
struct dph_hash_table *hash_table)
|
||||
{
|
||||
uint32_t val;
|
||||
|
||||
tpDphHashNode sta, pnext;
|
||||
uint16_t staIdx = STA_INVALID_IDX;
|
||||
|
||||
@ -240,13 +238,6 @@ tpDphHashNode dph_init_sta_state(struct mac_context *mac, tSirMacAddr staAddr,
|
||||
/* Initialize STA mac address */
|
||||
qdf_mem_copy(sta->staAddr, staAddr, sizeof(tSirMacAddr));
|
||||
|
||||
/* Initialize fragmentation threshold */
|
||||
if (wlan_mlme_get_frag_threshold(mac->psoc, &val) !=
|
||||
QDF_STATUS_SUCCESS)
|
||||
pe_warn("could not retrieve fragmentation threshold");
|
||||
else
|
||||
sta->fragSize = (uint16_t) val;
|
||||
|
||||
sta->added = 1;
|
||||
sta->is_disassoc_deauth_in_progress = 0;
|
||||
sta->last_assoc_received_time = 0;
|
||||
|
@ -109,8 +109,6 @@ typedef struct sDphHashNode {
|
||||
uint8_t wsmEnabled:1;
|
||||
uint8_t fAniCount:1;
|
||||
uint8_t rmfEnabled:1;
|
||||
/* Fragmentation size */
|
||||
uint16_t fragSize;
|
||||
/* LIM state */
|
||||
tLimMlmStaContext mlmStaContext;
|
||||
/* Number of Successful MPDU's being sent */
|
||||
|
Loading…
Reference in New Issue
Block a user