mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Remove wma_pre_start() cds_ctx parameter
Currently wma_pre_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: Ic4582ecafbee6fc1d0f8ebbf3c62ed8c7b47a179 CRs-Fixed: 2109255
This commit is contained in:
parent
acc1cc7a4e
commit
8ad89c6cd4
3 changed files with 3 additions and 4 deletions
|
|
@ -741,7 +741,7 @@ QDF_STATUS cds_pre_enable(void)
|
|||
qdf_event_reset(&gp_cds_context->wmaCompleteEvent);
|
||||
|
||||
/*call WMA pre start */
|
||||
qdf_status = wma_pre_start(gp_cds_context);
|
||||
qdf_status = wma_pre_start();
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_FATAL,
|
||||
"Failed to WMA prestart");
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ struct wma_caps_per_phy {
|
|||
typedef void (*wma_peer_authorized_fp) (uint32_t vdev_id);
|
||||
|
||||
|
||||
QDF_STATUS wma_pre_start(void *cds_context);
|
||||
QDF_STATUS wma_pre_start(void);
|
||||
|
||||
QDF_STATUS wma_mc_process_msg(void *cds_context, struct scheduler_msg *msg);
|
||||
|
||||
|
|
|
|||
|
|
@ -2781,11 +2781,10 @@ err_wma_handle:
|
|||
|
||||
/**
|
||||
* wma_pre_start() - wma pre start
|
||||
* @cds_ctx: cds context
|
||||
*
|
||||
* Return: 0 on success, errno on failure
|
||||
*/
|
||||
QDF_STATUS wma_pre_start(void *cds_ctx)
|
||||
QDF_STATUS wma_pre_start(void)
|
||||
{
|
||||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
A_STATUS status = A_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue