Browse Source

qcacld-3.0: Remove hdd_scan_info abortscan_event_var

Field abortscan_event_var in struct hdd_scan_info is no longer being
used, so remove it.

Change-Id: Idf5aa00d90a01e67f640036fefaa23196c343622
CRs-Fixed: 2134934
Jeff Johnson 7 years ago
parent
commit
6b82488af5
3 changed files with 0 additions and 7 deletions
  1. 0 2
      core/hdd/inc/wlan_hdd_main.h
  2. 0 2
      core/hdd/src/wlan_hdd_hostapd.c
  3. 0 3
      core/hdd/src/wlan_hdd_main.c

+ 0 - 2
core/hdd/inc/wlan_hdd_main.h

@@ -887,7 +887,6 @@ struct hdd_ap_ctx {
  * @default_scan_ies: Default scan IEs
  * @default_scan_ies_len: Length of @default_scan_ies
  * @scan_mode: Scan mode
- * @abortscan_event_var: completion variable for abortscan
  */
 struct hdd_scan_info {
 	uint32_t mScanPending;
@@ -895,7 +894,6 @@ struct hdd_scan_info {
 	uint8_t *default_scan_ies;
 	uint16_t default_scan_ies_len;
 	tSirScanType scan_mode;
-	struct completion abortscan_event_var;
 };
 
 #define WLAN_HDD_MAX_MC_ADDR_LIST CFG_TGT_MAX_MULTICAST_FILTER_ENTRIES

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

@@ -6385,8 +6385,6 @@ struct hdd_adapter *hdd_wlan_create_ap_dev(struct hdd_context *hdd_ctx,
 		init_completion(&adapter->rem_on_chan_ready_event);
 		init_completion(&adapter->sta_authorized_event);
 		init_completion(&adapter->offchannel_tx_event);
-		init_completion(&adapter->scan_info.
-				abortscan_event_var);
 
 		SET_NETDEV_DEV(pWlanHostapdDev, hdd_ctx->parent_dev);
 		spin_lock_init(&adapter->pause_map_lock);

+ 0 - 3
core/hdd/src/wlan_hdd_main.c

@@ -3164,9 +3164,6 @@ static struct hdd_adapter *hdd_alloc_station_adapter(struct hdd_context *hdd_ctx
 		init_completion(&adapter->tx_action_cnf_event);
 		init_completion(&adapter->ibss_peer_info_comp);
 		init_completion(&adapter->change_country_code);
-
-
-		init_completion(&adapter->scan_info.abortscan_event_var);
 		init_completion(&adapter->lfr_fw_status.disable_lfr_event);
 
 		adapter->offloads_configured = false;