瀏覽代碼

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
Jeff Johnson 7 年之前
父節點
當前提交
b4b196e024
共有 1 個文件被更改,包括 0 次插入36 次删除
  1. 0 36
      core/mac/src/sys/common/src/wlan_qct_sys.c

+ 0 - 36
core/mac/src/sys/common/src/wlan_qct_sys.c

@@ -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