mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
e0d1dbe17e
commit
d47e6a49dc
2 changed files with 0 additions and 27 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue