From 104ced0f2f8ec89f68a028961cbe6e19c5f89781 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Mar 2019 19:38:43 -0800 Subject: [PATCH] qcacld-3.0: Remove unused identifier iniConfig Change I99a2659e2151ad285e9451b9e9cc036a199581a3 ("qcacld-3.0: Remove legacy scan and ap protection related ini items") removed the last usage of local variable iniConfig in wlan_hdd_cfg80211_start_bss(), so remove it. Change-Id: I110735dc3940150e9de5b71e0911d2fcc9a581e6 CRs-Fixed: 2415554 --- core/hdd/src/wlan_hdd_hostapd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 1f5712efd9..4c8d2e9a73 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -4897,7 +4897,6 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter, mac_handle_t mac_handle; int32_t i; uint32_t ii; - struct hdd_config *iniConfig; struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); uint8_t mcc_to_scc_switch = 0, conc_rule1 = 0; struct sme_config_params *sme_config; @@ -4978,7 +4977,6 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter, goto free; } - iniConfig = hdd_ctx->config; hostapd_state = WLAN_HDD_GET_HOSTAP_STATE_PTR(adapter); clear_bit(ACS_PENDING, &adapter->event_flags);