From f2f03cffc315d28e94af8862899a735ce9afc7d4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 22 Apr 2015 10:45:26 -0500 Subject: [PATCH] CID:1024564: remove unnecessary check --- src/switch_core_session.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index 40c1a0ed35..065d27f638 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -1700,8 +1700,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++;