From: Anthony Minessale Date: Tue, 1 May 2007 18:53:02 +0000 (+0000) Subject: remove duplicate code X-Git-Tag: v1.0-beta1~420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a8dc6da1475b214f8710b4f15f8ed1585afa724;p=thirdparty%2Ffreeswitch.git remove duplicate code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5055 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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);