Commit 23d95cfe authored by Tristan Matthews's avatar Tristan Matthews

* #29736: presence: removed dead code

parent a532ebbe
......@@ -222,7 +222,6 @@ void SIPPresence::notifyPresSubServer() {
s->notify();
}
void SIPPresence::lock()
{
pj_mutex_lock(mutex_);
......@@ -237,22 +236,6 @@ void SIPPresence::unlock()
pj_mutex_unlock(mutex_);
}
bool SIPPresence::tryLock()
{
pj_status_t status;
status = pj_mutex_trylock(mutex_);
if (status == PJ_SUCCESS) {
mutex_owner_ = pj_thread_this();
++mutex_nesting_level_;
}
return status;
}
bool SIPPresence::isLocked()
{
return mutex_owner_ == pj_thread_this();
}
void SIPPresence::fillDoc(pjsip_tx_data *tdata, const pres_msg_data *msg_data)
{
......
......@@ -209,13 +209,8 @@ public:
return pres_sub_client_list_;
}
/**
* Lock methods
*/
void lock();
void unlock();
bool tryLock();
bool isLocked();
pjsip_pres_status pres_status_data; /**< Presence Data.*/
pjsip_publishc *publish_sess; /**< Client publication session.*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment