mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
CID:1024564: remove unnecessary check
This commit is contained in:
parent
4662118ca8
commit
f2f03cffc3
@ -1700,8 +1700,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++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user