mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Remove handling of obsolete SYS messages
The SYS_MSG_ID_MC_START and SYS_MSG_ID_MC_STOP messages are no longer being used, so remove all supporting logic. Change-Id: I29f2d852e4313a580532cdc4db1b9e0bf211283f CRs-Fixed: 2102670
This commit is contained in:
parent
fb35175109
commit
b4b196e024
1 changed files with 0 additions and 36 deletions
|
|
@ -87,42 +87,6 @@ QDF_STATUS sys_mc_process_msg(v_CONTEXT_t p_cds_context, struct scheduler_msg *p
|
|||
if (SYS_MSG_COOKIE == pMsg->reserved) {
|
||||
/* Process all the new SYS messages.. */
|
||||
switch (pMsg->type) {
|
||||
case SYS_MSG_ID_MC_START:
|
||||
/*
|
||||
* Handling for this message is not needed now so adding
|
||||
* debug print and QDF_ASSERT
|
||||
*/
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
|
||||
"Rx SYS_MSG_ID_MC_START msgType= %d [0x%08x]",
|
||||
pMsg->type, pMsg->type);
|
||||
QDF_ASSERT(0);
|
||||
break;
|
||||
|
||||
case SYS_MSG_ID_MC_STOP:
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_INFO,
|
||||
"Processing SYS MC STOP");
|
||||
|
||||
/* get the HAL context... */
|
||||
hHal = cds_get_context(QDF_MODULE_ID_PE);
|
||||
if (NULL == hHal) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SYS,
|
||||
QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: Invalid hHal", __func__);
|
||||
} else {
|
||||
qdf_status = sme_stop(hHal,
|
||||
HAL_STOP_TYPE_SYS_DEEP_SLEEP);
|
||||
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
|
||||
qdf_status = mac_stop(hHal,
|
||||
HAL_STOP_TYPE_SYS_DEEP_SLEEP);
|
||||
QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status));
|
||||
|
||||
((sysResponseCback) pMsg->callback)(
|
||||
(void *)pMsg->bodyptr);
|
||||
|
||||
qdf_status = QDF_STATUS_SUCCESS;
|
||||
}
|
||||
break;
|
||||
|
||||
case SYS_MSG_ID_MC_THR_PROBE:
|
||||
/*
|
||||
* Process MC thread probe. Just callback to the
|
||||
|
|
|
|||
Loading…
Reference in a new issue