qcacld-3.0: Remove unused sme_filter_scan_results()

SME function sme_filter_scan_results() is unused, so remove it. Note
that the underlying CSR function, csr_scan_filter_results(), is still
used, invoked from other places within SME.

Change-Id: I19ad6bc45d196500ea77c89c50830224d1063aa4
CRs-Fixed: 2353528
This commit is contained in:
Jeff Johnson 2018-11-17 10:51:14 -08:00 • committed by nshrivas
commit d47e6a49dc
2 changed files with 0 additions and 27 deletions

View file

@ -466,7 +466,6 @@ QDF_STATUS sme_issue_stored_joinreq(mac_handle_t mac_handle,
uint32_t *roam_id,
uint32_t session_id);
QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle);
QDF_STATUS sme_filter_scan_results(mac_handle_t mac_handle, uint8_t sessionId);
QDF_STATUS sme_scan_flush_p2p_result(mac_handle_t mac_handle,
uint8_t sessionId);
tCsrScanResultInfo *sme_scan_result_get_first(mac_handle_t,

View file

@ -2903,32 +2903,6 @@ QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle)
return status;
}
/*
* sme_filter_scan_results() -
* A wrapper function to request CSR to clear scan results.
* This is a synchronous call
*
* mac_handle: Opaque handle to the global MAC context
* sessionId - session id
* Return QDF_STATUS
*/
QDF_STATUS sme_filter_scan_results(mac_handle_t mac_handle, uint8_t sessionId)
{
QDF_STATUS status = QDF_STATUS_SUCCESS;
tpAniSirGlobal pMac = PMAC_STRUCT(mac_handle);
MTRACE(qdf_trace(QDF_MODULE_ID_SME,
TRACE_CODE_SME_RX_HDD_MSG_SCAN_FLUSH_RESULTS,
sessionId, 0));
status = sme_acquire_global_lock(&pMac->sme);
if (QDF_IS_STATUS_SUCCESS(status)) {
csr_scan_filter_results(pMac);
sme_release_global_lock(&pMac->sme);
}
return status;
}
QDF_STATUS sme_scan_flush_p2p_result(mac_handle_t mac_handle, uint8_t sessionId)
{
QDF_STATUS status = QDF_STATUS_E_FAILURE;