CID:1024564: remove unnecessary check

This commit is contained in:
Michael Jerris 2015-04-22 10:45:26 -05:00
parent 4662118ca8
commit f2f03cffc3
1 changed files with 0 additions and 2 deletions

View File

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