ソースを参照

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
Jeff Johnson 7 年 前
コミット
5522bc9a07
1 ファイル変更0 行追加2 行削除
  1. 0 2
      core/hdd/src/wlan_hdd_cfg80211.c

+ 0 - 2
core/hdd/src/wlan_hdd_cfg80211.c

@@ -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) {