提交 f2f03cff authored 作者: Michael Jerris's avatar Michael Jerris

CID:1024564: remove unnecessary check

上级 4662118c
...@@ -1701,8 +1701,6 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread_pool_worker(switch_th ...@@ -1701,8 +1701,6 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread_pool_worker(switch_th
if (check_status == SWITCH_STATUS_SUCCESS && pop) { if (check_status == SWITCH_STATUS_SUCCESS && pop) {
switch_thread_data_t *td = (switch_thread_data_t *) pop; switch_thread_data_t *td = (switch_thread_data_t *) pop;
if (!td) break;
switch_mutex_lock(session_manager.mutex); switch_mutex_lock(session_manager.mutex);
session_manager.busy++; session_manager.busy++;
switch_mutex_unlock(session_manager.mutex); switch_mutex_unlock(session_manager.mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论