qcacld-3.0: Remove wlansap_get_state()

Function wlansap_get_state() is unused, so remove it.

Change-Id: I3736c498a2409e0fe6d67b78fcce2a5e88fefdf5
CRs-Fixed: 2108343
This commit is contained in:
Jeff Johnson 2017-09-08 10:09:16 -07:00 • committed by snandini
commit 0654b69a16
2 changed files with 0 additions and 25 deletions

View file

@ -905,7 +905,6 @@ QDF_STATUS wlansap_stop(void *p_cds_gctx);
QDF_STATUS wlansap_close(void *p_cds_gctx);
typedef QDF_STATUS (*tpWLAN_SAPEventCB)(tpSap_Event pSapEvent,
void *pUsrContext);
uint8_t wlansap_get_state(void *p_cds_gctx);
/**
* wlansap_is_channel_in_nol_list() - This API checks if channel is

View file

@ -537,30 +537,6 @@ wlansap_pmc_full_pwr_req_cb(void *callbackContext, QDF_STATUS status)
} /* wlansap_pmc_full_pwr_req_cb */
/**
* wlansap_get_state() - get SAP state
* @pCtx: Pointer to the global cds context; a handle to SAP's control block
* can be extracted from its context. When MBSSID feature is enabled,
* SAP context is directly passed to SAP APIs.
*
* This api returns the current SAP state to the caller.
*
* Return: uint8_t - the SAP FSM state.
*/
uint8_t wlansap_get_state(void *pCtx)
{
ptSapContext pSapCtx = NULL;
pSapCtx = CDS_GET_SAP_CB(pCtx);
if (NULL == pSapCtx) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
"%s: Invalid SAP pointer from pCtx", __func__);
return QDF_STATUS_E_FAULT;
}
return pSapCtx->sapsMachine;
}
bool wlansap_is_channel_in_nol_list(void *p_cds_gctx,
uint8_t channelNumber,
ePhyChanBondState chanBondState)