summaryrefslogtreecommitdiff
path: root/channels/sip
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2016-03-07 18:56:05 -0600
committerRichard Mudgett <rmudgett@digium.com>2016-03-14 14:10:10 -0500
commitcb97198ca648fb9e91f9e5f9328442d538fcbf63 (patch)
tree2c014424a4115c930583222e98f9507893a3176a /channels/sip
parentdcb25bb05792f5cbbb458b264030f68cfb59b682 (diff)
chan_sip.c: Simplify sip_pvt destructor call levels.
Remove destructor calling destroy_it calling really_destroy_it for no benefit. Just make the destructor the really_destroy_it function. Change-Id: Idea0d47b27dd74f2488db75bcc7f353d8fdc614a
Diffstat (limited to 'channels/sip')
-rw-r--r--channels/sip/include/dialog.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/channels/sip/include/dialog.h b/channels/sip/include/dialog.h
index beacdb989..f6adea59b 100644
--- a/channels/sip/include/dialog.h
+++ b/channels/sip/include/dialog.h
@@ -43,19 +43,6 @@ void sip_scheddestroy_final(struct sip_pvt *p, int ms);
void sip_scheddestroy(struct sip_pvt *p, int ms);
int sip_cancel_destroy(struct sip_pvt *p);
-/*! \brief Destroy SIP call structure.
- * Make it return NULL so the caller can do things like
- * foo = sip_destroy(foo);
- * and reduce the chance of bugs due to dangling pointers.
- */
-struct sip_pvt *sip_destroy(struct sip_pvt *p);
-
-/*! \brief Destroy SIP call structure.
- * Make it return NULL so the caller can do things like
- * foo = sip_destroy(foo);
- * and reduce the chance of bugs due to dangling pointers.
- */
-void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist);
/*!
* \brief Unlink a dialog from the dialogs container, as well as any other places
* that it may be currently stored.