From: Michael Jerris Date: Wed, 22 Apr 2015 15:45:26 +0000 (-0500) Subject: CID:1024564: remove unnecessary check X-Git-Tag: v1.6.2~614^2~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2f03cffc315d28e94af8862899a735ce9afc7d4;p=thirdparty%2Ffreeswitch.git CID:1024564: remove unnecessary check --- 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++;