mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Remove unused wma_mc_process_msg() parameter
Currently wma_mc_process_msg() takes a cds_context parameter. At one time this parameter was needed, but that is no longer the case, so remove this now unused parameter. Change-Id: Ia460afc5db932274cd960485af93fc48e899ff35 CRs-Fixed: 2109258
This commit is contained in:
parent
f7ab814a0c
commit
5be42abfb6
2 changed files with 2 additions and 12 deletions
|
|
@ -96,8 +96,6 @@ typedef void (*wma_peer_authorized_fp) (uint32_t vdev_id);
|
|||
|
||||
QDF_STATUS wma_pre_start(void);
|
||||
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -6720,12 +6720,11 @@ QDF_STATUS wma_get_chain_rssi(tp_wma_handle wma_handle,
|
|||
|
||||
/**
|
||||
* wma_mc_process_msg() - process wma messages and call appropriate function.
|
||||
* @cds_context: cds context
|
||||
* @msg: message
|
||||
*
|
||||
* Return: QDF_SUCCESS for success otherwise failure
|
||||
*/
|
||||
QDF_STATUS wma_mc_process_msg(void *cds_context, struct scheduler_msg *msg)
|
||||
static QDF_STATUS wma_mc_process_msg(struct scheduler_msg *msg)
|
||||
{
|
||||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
tp_wma_handle wma_handle;
|
||||
|
|
@ -7518,14 +7517,7 @@ end:
|
|||
|
||||
QDF_STATUS wma_mc_process_handler(struct scheduler_msg *msg)
|
||||
{
|
||||
void *cds_ctx = cds_get_global_context();
|
||||
|
||||
if (cds_ctx == NULL) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
|
||||
"CDS context is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
return wma_mc_process_msg(cds_ctx, msg);
|
||||
return wma_mc_process_msg(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue