qcacld-3.0: Remove wma_start() cds_ctx parameter

Currently wma_start() 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: If6756ca37a7e4ec4ade1c72eea080f3bc89ad7e4
CRs-Fixed: 2109253
This commit is contained in:
Jeff Johnson 2017-09-13 08:41:31 -07:00 • committed by snandini
commit d489255594
3 changed files with 3 additions and 4 deletions

View file

@ -840,7 +840,7 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context)
}
/* Start the wma */
qdf_status = wma_start(p_cds_context);
qdf_status = wma_start();
if (qdf_status != QDF_STATUS_SUCCESS) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
"%s: Failed to start wma", __func__);

View file

@ -100,7 +100,7 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, struct scheduler_msg *msg);
QDF_STATUS wma_mc_process_handler(struct scheduler_msg *msg);
QDF_STATUS wma_start(void *cds_context);
QDF_STATUS wma_start(void);
QDF_STATUS wma_stop(void *cds_context, uint8_t reason);

View file

@ -3224,11 +3224,10 @@ fail:
/**
* wma_start() - wma start function.
* Intialize event handlers and timers.
* @cds_ctx: cds context
*
* Return: 0 on success, QDF Error on failure
*/
QDF_STATUS wma_start(void *cds_ctx)
QDF_STATUS wma_start(void)
{
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
tp_wma_handle wma_handle;