From 0d77b73db7851dc53520504d047b5d4ea078e28e Mon Sep 17 00:00:00 2001 From: normal Date: Sat, 28 Apr 2018 06:00:39 +0000 Subject: [PATCH] thread_sync.c: remove unused list_heads I forgot to clean these up in r63215 * thread_sync.c (szqueue_list, queue_list, condvar_list): remove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_sync.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/thread_sync.c b/thread_sync.c index 0b44365eaf..5b6ff80d56 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -4,14 +4,6 @@ static VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable; static VALUE rb_eClosedQueueError; -/* - * keep these globally so we can walk and reinitialize them at fork - * in the child process - */ -static LIST_HEAD(szqueue_list); -static LIST_HEAD(queue_list); -static LIST_HEAD(condvar_list); - /* sync_waiter is always on-stack */ struct sync_waiter { rb_thread_t *th;