]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove no-longer-used (and unsafe) field in ast_channel for linked lists.
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 25 Mar 2010 18:38:27 +0000 (18:38 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 25 Mar 2010 18:38:27 +0000 (18:38 +0000)
The ast_channel structure had a field used for linking a channel into a
linked list, but now that ast_channel structures are ao2 objects, this is
no longer needed, and could be harmful as ao2 objects really shouldn't
ever be placed into linked lists (since those lists don't assist with
reference count management on the objects).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/channel.h

index 8c3d27f98bfa3b452a07e02f90568f152aac595e..76206c4f7304d8a7bff4ac632238fa6e157a6c78 100644 (file)
@@ -713,7 +713,6 @@ struct ast_channel {
        ast_group_t callgroup;                          /*!< Call group for call pickups */
        ast_group_t pickupgroup;                        /*!< Pickup group - which calls groups can be picked up? */
        AST_LIST_HEAD_NOLOCK(, ast_frame) readq;
-       AST_LIST_ENTRY(ast_channel) chan_list;          /*!< For easy linking */
        struct ast_jb jb;                               /*!< The jitterbuffer state */
        struct timeval dtmf_tv;                         /*!< The time that an in process digit began, or the last digit ended */
        AST_LIST_HEAD_NOLOCK(datastores, ast_datastore) datastores; /*!< Data stores on the channel */