mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Remove unused completion_var from hdd_wext_state_t
Currently struct hdd_wext_state_s (typedefed as hdd_wext_state_t) contains the field "struct completion completion_var". This completion object is initialized, but beyond that it is never used. Since this object is obsolete, remove it. Change-Id: Ibebd7b4d1e8879b4de223a8be4bab2ca0d2fc165 CRs-Fixed: 2017354
This commit is contained in:
parent
10d844ba7c
commit
920b8ee5bf
2 changed files with 0 additions and 8 deletions
|
|
@ -259,9 +259,6 @@ typedef struct hdd_wext_state_s {
|
|||
/**Counter measure state, Started/Stopped*/
|
||||
bool mTKIPCounterMeasures;
|
||||
|
||||
/**Completion Variable*/
|
||||
struct completion completion_var;
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
/* ESE state variables */
|
||||
bool isESEConnection;
|
||||
|
|
|
|||
|
|
@ -7323,7 +7323,6 @@ static int __iw_setint_getnone(struct net_device *dev,
|
|||
hdd_adapter_t *pAdapter = WLAN_HDD_GET_PRIV_PTR(dev);
|
||||
tHalHandle hHal = WLAN_HDD_GET_HAL_CTX(pAdapter);
|
||||
hdd_station_ctx_t *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
|
||||
hdd_wext_state_t *pWextState = WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter);
|
||||
hdd_context_t *hdd_ctx;
|
||||
tSmeConfigParams smeConfig;
|
||||
int *value = (int *)extra;
|
||||
|
|
@ -7344,7 +7343,6 @@ static int __iw_setint_getnone(struct net_device *dev,
|
|||
if (0 != ret)
|
||||
return ret;
|
||||
|
||||
INIT_COMPLETION(pWextState->completion_var);
|
||||
memset(&smeConfig, 0x00, sizeof(smeConfig));
|
||||
|
||||
switch (sub_cmd) {
|
||||
|
|
@ -13476,9 +13474,6 @@ int hdd_register_wext(struct net_device *dev)
|
|||
/* Zero the memory. This zeros the profile structure */
|
||||
memset(pwextBuf, 0, sizeof(hdd_wext_state_t));
|
||||
|
||||
init_completion(&(WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter))->
|
||||
completion_var);
|
||||
|
||||
status = hdd_set_wext(pAdapter);
|
||||
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue