qcacld-3.0: Remove wma_stop() cds_ctx parameter

Currently wma_stop() 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: Iba40ac86e5916be3b8c2a62cf5483c9b7a242be5
CRs-Fixed: 2109254
This commit is contained in:
Jeff Johnson
2017-09-13 08:47:49 -07:00
committed by snandini
parent d489255594
commit acc1cc7a4e
3 changed files with 4 additions and 5 deletions

View File

@@ -909,7 +909,7 @@ err_mac_stop:
err_wma_stop: err_wma_stop:
qdf_event_reset(&(gp_cds_context->wmaCompleteEvent)); qdf_event_reset(&(gp_cds_context->wmaCompleteEvent));
qdf_status = wma_stop(p_cds_context, HAL_STOP_TYPE_RF_KILL); qdf_status = wma_stop(HAL_STOP_TYPE_RF_KILL);
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
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__);
@@ -959,7 +959,7 @@ QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context)
dispatcher_psoc_disable(psoc); dispatcher_psoc_disable(psoc);
qdf_status = wma_stop(cds_context, HAL_STOP_TYPE_RF_KILL); qdf_status = wma_stop(HAL_STOP_TYPE_RF_KILL);
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");

View File

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

View File

@@ -3470,12 +3470,11 @@ end:
/** /**
* wma_stop() - wma stop function. * wma_stop() - wma stop function.
* cleanup timers and suspend target. * cleanup timers and suspend target.
* @cds_ctx: cds context
* @reason: reason for wma_stop. * @reason: reason for wma_stop.
* *
* Return: 0 on success, QDF Error on failure * Return: 0 on success, QDF Error on failure
*/ */
QDF_STATUS wma_stop(void *cds_ctx, uint8_t reason) QDF_STATUS wma_stop(uint8_t reason)
{ {
tp_wma_handle wma_handle; tp_wma_handle wma_handle;
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS; QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;