qcacld-3.0: Remove wma_setneedshutdown() cds_ctx parameter
Currently wma_setneedshutdown() takes a cds_ctx parameter. At one time this was needed for the call to cds_get_context(), but that is no longer the case, so remove this unused parameter. Change-Id: I65f2af2e97b09523f5cf00369b5cf95ad01194d9 CRs-Fixed: 2109252
This commit is contained in:
@@ -914,7 +914,7 @@ err_wma_stop:
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: Failed to stop wma", __func__);
|
||||
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
|
||||
wma_setneedshutdown(cds_context);
|
||||
wma_setneedshutdown();
|
||||
} else {
|
||||
qdf_status =
|
||||
qdf_wait_single_event(&(gp_cds_context->wmaCompleteEvent),
|
||||
@@ -932,7 +932,7 @@ err_wma_stop:
|
||||
__func__);
|
||||
}
|
||||
QDF_ASSERT(0);
|
||||
wma_setneedshutdown(cds_context);
|
||||
wma_setneedshutdown();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -964,7 +964,7 @@ QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context)
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
cds_err("Failed to stop wma");
|
||||
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
|
||||
wma_setneedshutdown(cds_context);
|
||||
wma_setneedshutdown();
|
||||
}
|
||||
|
||||
handle = cds_get_context(QDF_MODULE_ID_PE);
|
||||
|
@@ -116,7 +116,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *ev, uint32_t len);
|
||||
|
||||
int wma_rx_service_ready_ext_event(void *handle, uint8_t *ev, uint32_t len);
|
||||
|
||||
void wma_setneedshutdown(void *cds_context);
|
||||
void wma_setneedshutdown(void);
|
||||
|
||||
bool wma_needshutdown(void);
|
||||
|
||||
|
@@ -5871,11 +5871,10 @@ int wma_rx_ready_event(void *handle, uint8_t *cmd_param_info,
|
||||
|
||||
/**
|
||||
* wma_setneedshutdown() - setting wma needshutdown flag
|
||||
* @cds_ctx: cds context
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void wma_setneedshutdown(void *cds_ctx)
|
||||
void wma_setneedshutdown(void)
|
||||
{
|
||||
tp_wma_handle wma_handle;
|
||||
|
||||
|
Reference in New Issue
Block a user