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:
Jeff Johnson
2017-09-13 08:09:05 -07:00
committed by snandini
parent 1b5404e93c
commit 1f8d0a0a9c
3 changed files with 5 additions and 6 deletions

View File

@@ -914,7 +914,7 @@ err_wma_stop:
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
"%s: Failed to stop wma", __func__); "%s: Failed to stop wma", __func__);
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status)); QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
wma_setneedshutdown(cds_context); wma_setneedshutdown();
} else { } else {
qdf_status = qdf_status =
qdf_wait_single_event(&(gp_cds_context->wmaCompleteEvent), qdf_wait_single_event(&(gp_cds_context->wmaCompleteEvent),
@@ -932,7 +932,7 @@ err_wma_stop:
__func__); __func__);
} }
QDF_ASSERT(0); 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)) { if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
cds_err("Failed to stop wma"); cds_err("Failed to stop wma");
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status)); QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
wma_setneedshutdown(cds_context); wma_setneedshutdown();
} }
handle = cds_get_context(QDF_MODULE_ID_PE); handle = cds_get_context(QDF_MODULE_ID_PE);

View File

@@ -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); 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); bool wma_needshutdown(void);

View File

@@ -5871,11 +5871,10 @@ int wma_rx_ready_event(void *handle, uint8_t *cmd_param_info,
/** /**
* wma_setneedshutdown() - setting wma needshutdown flag * wma_setneedshutdown() - setting wma needshutdown flag
* @cds_ctx: cds context
* *
* Return: none * Return: none
*/ */
void wma_setneedshutdown(void *cds_ctx) void wma_setneedshutdown(void)
{ {
tp_wma_handle wma_handle; tp_wma_handle wma_handle;