qcacld-3.0: Remove scan_id_counter from WMA context

The scan_id_counter in the WMA context is initialized but never
incremented or read. Since it is not actually used, remove it.

Change-Id: Id159ba6ff36ae2a3977978f8799cf16aeee5300d
CRs-Fixed: 2294150
This commit is contained in:
Jeff Johnson 2018-07-22 21:00:48 -07:00 • committed by nshrivas
commit 89cd1ff6aa
2 changed files with 0 additions and 2 deletions

View file

@ -1221,7 +1221,6 @@ typedef struct {
struct dbs_hw_mode_info hw_mode;
uint32_t old_hw_mode_index;
uint32_t new_hw_mode_index;
qdf_atomic_t scan_id_counter;
wma_peer_authorized_fp peer_authorized_cb;
uint32_t wow_unspecified_wake_count;

View file

@ -3285,7 +3285,6 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
MAX_ENTRY_HOLD_REQ_QUEUE);
qdf_spinlock_create(&wma_handle->wma_hold_req_q_lock);
qdf_atomic_init(&wma_handle->is_wow_bus_suspended);
qdf_atomic_init(&wma_handle->scan_id_counter);
/* Register vdev start response event handler */
wmi_unified_register_event_handler(wma_handle->wmi_handle,