freetdm: ISDN - Removed unnecessay locks since lock is now done by ftdm core
This commit is contained in:
parent
804fc61a6c
commit
6cecbca2bb
|
@ -912,9 +912,6 @@ static FIO_CHANNEL_OUTGOING_CALL_FUNCTION(ftdm_sangoma_isdn_outgoing_call)
|
||||||
sngisdn_chan_data_t *sngisdn_info = ftdmchan->call_data;
|
sngisdn_chan_data_t *sngisdn_info = ftdmchan->call_data;
|
||||||
ftdm_status_t status = FTDM_FAIL;
|
ftdm_status_t status = FTDM_FAIL;
|
||||||
|
|
||||||
/* lock the channel while we check whether it is availble */
|
|
||||||
ftdm_channel_lock(ftdmchan);
|
|
||||||
|
|
||||||
switch (ftdmchan->state) {
|
switch (ftdmchan->state) {
|
||||||
|
|
||||||
case FTDM_CHANNEL_STATE_DOWN:
|
case FTDM_CHANNEL_STATE_DOWN:
|
||||||
|
@ -942,7 +939,6 @@ static FIO_CHANNEL_OUTGOING_CALL_FUNCTION(ftdm_sangoma_isdn_outgoing_call)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ftdm_channel_unlock(ftdmchan);
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
static FIO_CHANNEL_GET_SIG_STATUS_FUNCTION(ftdm_sangoma_isdn_get_chan_sig_status)
|
static FIO_CHANNEL_GET_SIG_STATUS_FUNCTION(ftdm_sangoma_isdn_get_chan_sig_status)
|
||||||
|
|
Loading…
Reference in New Issue