From 5a8dc6da1475b214f8710b4f15f8ed1585afa724 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 1 May 2007 18:53:02 +0000 Subject: [PATCH] remove duplicate code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5055 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index fc6d68087a..c12a12b8e8 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1272,10 +1272,6 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, tech_pvt->nh = NULL; - switch_mutex_lock(profile->flag_mutex); - profile->inuse--; - switch_mutex_unlock(profile->flag_mutex); - } else if (sofia_private) { if (sofia_private->home) { su_home_unref(sofia_private->home);