aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 20:51:45 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 20:51:45 +0000
commit752fca7450848cfa30460d7af91ce1a39c1c709a (patch)
tree2afc8ee31df760507116e4f9aa432c19f852bd58
parent733ae06195cb0ab75509cf26ccbaf3d4fa962fa8 (diff)
No need to do this in here any longer since the linkedlists macro is fixed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19305 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_iax2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 33152b13e..56ae4c03e 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -847,7 +847,6 @@ static struct iax2_thread *find_idle_thread(void)
thread = AST_LIST_FIRST(&idle_list);
if (thread != NULL) {
AST_LIST_REMOVE(&idle_list, thread, list);
- thread->list.next = NULL;
}
AST_LIST_UNLOCK(&idle_list);
@@ -857,7 +856,6 @@ static struct iax2_thread *find_idle_thread(void)
thread = AST_LIST_FIRST(&dynamic_list);
if (thread != NULL) {
AST_LIST_REMOVE(&dynamic_list, thread, list);
- thread->list.next = NULL;
}
/* Make sure we absolutely have a thread... if not, try to make one if allowed */
if (thread == NULL && iaxmaxthreadcount > iaxdynamicthreadcount) {
@@ -8024,7 +8022,6 @@ static void *iax2_process_thread(void *data)
/* Now... remove ourselves from the active list, and return to the idle list */
AST_LIST_LOCK(&active_list);
AST_LIST_REMOVE(&active_list, thread, list);
- thread->list.next = NULL;
AST_LIST_UNLOCK(&active_list);
/* Go back into our respective list */