From dae9488f367bf83596fa0a2468987ac9601e6ff2 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 8 Sep 2017 10:20:21 -0700 Subject: [PATCH] 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 --- core/sap/src/sap_internal.h | 3 --- core/sap/src/sap_module.c | 32 -------------------------------- 2 files changed, 35 deletions(-) diff --git a/core/sap/src/sap_internal.h b/core/sap/src/sap_internal.h index a847e01e238f..07c961a70429 100644 --- a/core/sap/src/sap_internal.h +++ b/core/sap/src/sap_internal.h @@ -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); diff --git a/core/sap/src/sap_module.c b/core/sap/src/sap_module.c index feefe68033ad..a730e4341fb4 100644 --- a/core/sap/src/sap_module.c +++ b/core/sap/src/sap_module.c @@ -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)