diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-03-07 18:56:05 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-03-14 13:46:11 -0500 |
commit | 56bcb97a3cae238a2ff06db2ff2a46e3dd04599f (patch) | |
tree | 7b9f5070c1da5e9ae55ed295924e98abbb937acc /channels/sip/include/dialog.h | |
parent | 336cae73cc85bac570028ec72dac42fa75691e75 (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/include/dialog.h')
-rw-r--r-- | channels/sip/include/dialog.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/channels/sip/include/dialog.h b/channels/sip/include/dialog.h index 582841d54..c0dfd605a 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. |