mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Remove sme_scan_flush_p2p_result()
Change Ic160dfafcfa015eb42a226304260b1be3dddc6f0
("qcacld-3.0: cleanup legacy scan request processing"
removed the last client of sme_scan_flush_p2p_result().
Since it is now unused, remove it.
Change-Id: I8a4cf81d4a2f561e2464b3e32c21202b5779de07
CRs-Fixed: 2370895
This commit is contained in:
parent
b3451dcab7
commit
770fdb0b72
2 changed files with 0 additions and 19 deletions
|
|
@ -463,8 +463,6 @@ bool sme_store_joinreq_param(mac_handle_t mac_handle,
|
|||
bool sme_clear_joinreq_param(mac_handle_t mac_handle,
|
||||
uint32_t session_id);
|
||||
QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle);
|
||||
QDF_STATUS sme_scan_flush_p2p_result(mac_handle_t mac_handle,
|
||||
uint8_t sessionId);
|
||||
tCsrScanResultInfo *sme_scan_result_get_first(mac_handle_t,
|
||||
tScanResultHandle hScanResult);
|
||||
tCsrScanResultInfo *sme_scan_result_get_next(mac_handle_t,
|
||||
|
|
|
|||
|
|
@ -2807,23 +2807,6 @@ QDF_STATUS sme_scan_flush_result(mac_handle_t mac_handle)
|
|||
return status;
|
||||
}
|
||||
|
||||
QDF_STATUS sme_scan_flush_p2p_result(mac_handle_t mac_handle, uint8_t sessionId)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
struct mac_context *mac = MAC_CONTEXT(mac_handle);
|
||||
|
||||
MTRACE(qdf_trace(QDF_MODULE_ID_SME,
|
||||
TRACE_CODE_SME_RX_HDD_MSG_SCAN_FLUSH_P2PRESULTS,
|
||||
sessionId, 0));
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
status = csr_scan_flush_selective_result(mac, true);
|
||||
sme_release_global_lock(&mac->sme);
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
/*
|
||||
* sme_scan_result_get_first() -
|
||||
* A wrapper function to request CSR to returns the first element of
|
||||
|
|
|
|||
Loading…
Reference in a new issue