qcacld-3.0: Remove wlansap_pmc_full_pwr_req_cb()

Function wlansap_pmc_full_pwr_req_cb() is not used, so remove it.

Change-Id: I25d0a5b44d8576b5d302132b47a6955febaec86d
CRs-Fixed: 2108348
This commit is contained in:
Jeff Johnson 2017-09-08 10:20:21 -07:00 • committed by snandini
commit dae9488f36
2 changed files with 0 additions and 35 deletions

View file

@ -330,9 +330,6 @@ wlansap_roam_callback
QDF_STATUS SapFsm(ptSapContext sapContext, ptWLAN_SAPEvent sapEvent,
uint8_t *status);
void
wlansap_pmc_full_pwr_req_cb(void *callbackContext, QDF_STATUS status);
uint8_t sap_select_channel(tHalHandle halHandle, ptSapContext pSapCtx,
tScanResultHandle pScanResult);

View file

@ -505,38 +505,6 @@ QDF_STATUS wlansap_close(void *pCtx)
return QDF_STATUS_SUCCESS;
} /* wlansap_close */
/*==========================================================================
FUNCTION wlansap_pmc_full_pwr_req_cb
DESCRIPTION
Callback provide to PMC in the pmc_request_full_power API.
DEPENDENCIES
PARAMETERS
IN
callbackContext: The user passed in a context to identify
status : The qdf_ret_status
RETURN VALUE
None
SIDE EFFECTS
============================================================================*/
void
wlansap_pmc_full_pwr_req_cb(void *callbackContext, QDF_STATUS status)
{
if (QDF_IS_STATUS_SUCCESS(status)) {
/* If success what else to be handled??? */
} else {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_FATAL,
"wlansap_pmc_full_pwr_req_cb: PMC failed to put the chip in Full power");
}
} /* wlansap_pmc_full_pwr_req_cb */
bool wlansap_is_channel_in_nol_list(void *p_cds_gctx,
uint8_t channelNumber,
ePhyChanBondState chanBondState)