qcacld-3.0: Remove csr_scan_flush_selective_result()
Change I8a4cf81d4a2f561e2464b3e32c21202b5779de07 ("qcacld-3.0: Remove sme_scan_flush_p2p_result()" removed the last client of csr_scan_flush_selective_result(). Since this function is now obsolete, remove it. Change-Id: I42d5d020e2320a490c38dd7d021dd7ac395717c2 CRs-Fixed: 2370968
This commit is contained in:
@@ -3101,25 +3101,6 @@ QDF_STATUS csr_scan_flush_result(struct mac_context *mac_ctx)
|
|||||||
return csr_flush_scan_results(mac_ctx, NULL);
|
return csr_flush_scan_results(mac_ctx, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
QDF_STATUS csr_scan_flush_selective_result(struct mac_context *mac_ctx,
|
|
||||||
bool flush_p2p)
|
|
||||||
{
|
|
||||||
struct scan_filter *filter;
|
|
||||||
QDF_STATUS status;
|
|
||||||
|
|
||||||
filter = qdf_mem_malloc(sizeof(*filter));
|
|
||||||
if (!filter) {
|
|
||||||
status = QDF_STATUS_E_NOMEM;
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
filter->p2p_results = flush_p2p;
|
|
||||||
status = csr_flush_scan_results(mac_ctx, filter);
|
|
||||||
if (filter)
|
|
||||||
qdf_mem_free(filter);
|
|
||||||
end:
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void csr_flush_bssid(struct mac_context *mac_ctx,
|
static inline void csr_flush_bssid(struct mac_context *mac_ctx,
|
||||||
uint8_t *bssid)
|
uint8_t *bssid)
|
||||||
{
|
{
|
||||||
|
@@ -467,8 +467,6 @@ QDF_STATUS csr_scan_flush_result(struct mac_context *mac_ctx);
|
|||||||
*/
|
*/
|
||||||
QDF_STATUS csr_scan_filter_results(struct mac_context *mac);
|
QDF_STATUS csr_scan_filter_results(struct mac_context *mac);
|
||||||
|
|
||||||
QDF_STATUS csr_scan_flush_selective_result(struct mac_context *mac, bool flushP2P);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* csr_scan_result_get_first
|
* csr_scan_result_get_first
|
||||||
* Returns the first element of scan result.
|
* Returns the first element of scan result.
|
||||||
|
Viittaa uudesa ongelmassa
Block a user