qcacld-3.0: Remove wlan_sys_probe

wlan_sys_probe has been superseded by the scheduler thread watchdog.
Since it is no longer needed, remove wlan_sys_probe.

Change-Id: I31e7cf0021774d074a6c94eb6a636e1f87452923
CRs-Fixed: 2249435
This commit is contained in:
Dustin Brown 2018-05-25 16:48:23 -07:00 • committed by nshrivas
commit c30f3933ff
3 changed files with 3 additions and 32 deletions

View file

@ -843,10 +843,8 @@ QDF_STATUS cds_pre_enable(void)
"%s: wma_pre_start reporting other error",
__func__);
}
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
"%s: Test MC thread by posting a probe message to SYS",
__func__);
wlan_sys_probe();
cds_trigger_recovery(QDF_REASON_UNSPECIFIED);
QDF_ASSERT(0);
return QDF_STATUS_E_FAILURE;

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -99,6 +99,4 @@ QDF_STATUS umac_stop(void);
QDF_STATUS sys_mc_process_handler(struct scheduler_msg *msg);
void wlan_sys_probe(void);
#endif /* WLAN_QCT_SYS_H__ */

View file

@ -172,15 +172,6 @@ static QDF_STATUS sys_mc_process_msg(struct scheduler_msg *pMsg)
((sys_rsp_cb) pMsg->callback)(pMsg->bodyptr);
qdf_status = QDF_STATUS_SUCCESS;
break;
case SYS_MSG_ID_MC_THR_PROBE:
/*
* Process MC thread probe. Just callback to the
* function that is in the message.
*/
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_ERROR,
"Rx SYS_MSG_ID_MC_THR_PROBE msgType=%d[0x%08x]",
pMsg->type, pMsg->type);
break;
case SYS_MSG_ID_DATA_STALL_MSG:
data_stall_detect_callback = pMsg->callback;
@ -306,19 +297,3 @@ void sys_process_mmh_msg(tpAniSirGlobal pMac, struct scheduler_msg *pMsg)
}
/**
* wlan_sys_probe() - API to post MC thread probe
*
* This API will be used send probe message
*
* Return: none
*/
void wlan_sys_probe(void)
{
struct scheduler_msg message = {0};
message.reserved = SYS_MSG_COOKIE;
message.type = SYS_MSG_ID_MC_THR_PROBE;
message.bodyptr = NULL;
scheduler_post_msg(QDF_MODULE_ID_SYS, &message);
}