qcacld-3.0: Remove unused p_cds_context in "set mac acl"
__wlan_hdd_cfg80211_set_mac_acl() contains a local variable p_cds_context that is written but never read, hence it is unused. Therfore remove the variable. Change-Id: I99051fbfb5e44791514a5086eb9cf33f773ffbee CRs-Fixed: 2102503
Этот коммит содержится в:

коммит произвёл
Nandini Suresh

родитель
b625c48726
Коммит
5522bc9a07
@@ -18428,7 +18428,6 @@ static int __wlan_hdd_cfg80211_set_mac_acl(struct wiphy *wiphy,
|
||||
hdd_adapter_t *pAdapter = WLAN_HDD_GET_PRIV_PTR(dev);
|
||||
hdd_hostapd_state_t *pHostapdState;
|
||||
tsap_Config_t *pConfig;
|
||||
v_CONTEXT_t p_cds_context = NULL;
|
||||
hdd_context_t *pHddCtx;
|
||||
int status;
|
||||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
@@ -18451,7 +18450,6 @@ static int __wlan_hdd_cfg80211_set_mac_acl(struct wiphy *wiphy,
|
||||
if (0 != status)
|
||||
return status;
|
||||
|
||||
p_cds_context = pHddCtx->pcds_context;
|
||||
pHostapdState = WLAN_HDD_GET_HOSTAP_STATE_PTR(pAdapter);
|
||||
|
||||
if (NULL == pHostapdState) {
|
||||
|
Ссылка в новой задаче
Block a user