diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 3afcc8fcbf58..1d67241db3a8 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/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 diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index e76baab506ed..99ad41fbdc05 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/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); diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fe1a359deef3..951ccdfc6bdc 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/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;