From ba04f224ad0374c645d6005663c2cd4bc49ab948 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 17 Dec 2018 19:30:19 -0800 Subject: [PATCH] qcacld-3.0: Remove rem_on_chan_ready_event from hdd_adapter Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove legacy P2P codes in HDD") removed the logic which utilized the rem_on_chan_ready_event field in struct hdd_adapter. Since this field is no longer used, remove it. Change-Id: Ic8947dc70d510bd123759e53e58e33c5b64ec130 CRs-Fixed: 2370881 --- core/hdd/inc/wlan_hdd_main.h | 2 -- core/hdd/src/wlan_hdd_main.c | 1 - 2 files changed, 3 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 6b21b4d0e8d9..b10b92237d8f 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -1249,8 +1249,6 @@ struct hdd_adapter { struct completion offchannel_tx_event; /* Completion variable for action frame */ struct completion tx_action_cnf_event; - /* Completion variable for remain on channel ready */ - struct completion rem_on_chan_ready_event; struct completion sta_authorized_event; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 8fab96579acd..42e07e38e8d7 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -5026,7 +5026,6 @@ static void hdd_init_completion(struct hdd_adapter *adapter) init_completion(&adapter->disconnect_comp_var); init_completion(&adapter->roaming_comp_var); init_completion(&adapter->linkup_event_var); - init_completion(&adapter->rem_on_chan_ready_event); init_completion(&adapter->sta_authorized_event); init_completion(&adapter->offchannel_tx_event); init_completion(&adapter->tx_action_cnf_event);