CID:1024564: remove unnecessary check
This commit is contained in:
parent
4662118ca8
commit
f2f03cffc3
|
@ -1701,8 +1701,6 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread_pool_worker(switch_th
|
|||
if (check_status == SWITCH_STATUS_SUCCESS && pop) {
|
||||
switch_thread_data_t *td = (switch_thread_data_t *) pop;
|
||||
|
||||
if (!td) break;
|
||||
|
||||
switch_mutex_lock(session_manager.mutex);
|
||||
session_manager.busy++;
|
||||
switch_mutex_unlock(session_manager.mutex);
|
||||
|
|
Loading…
Reference in New Issue