summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2018-07-09 10:22:59 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-09 10:22:59 -0400
commit695b44526c968787374fd421327422a6eea710a7 (patch)
tree5fcd51059f4e0ff4e8bec69d467ebd9e7be17891 /src/lib/eina
parent60fa7b8b48026c39e28bb90e4c5372a55ddcebbb (diff)
eina: remove no longer used function _eina_thread_queue_msg_block_real_free
Summary: It seems this function is no longer used since some rework. Clean it up. lib/eina/eina_thread_queue.c:127:1: warning: ‘_eina_thread_queue_msg_block_real_free’ defined but not used [-Wunused-function] Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6537
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_thread_queue.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c
index 91fbcb5151..d6ba62df26 100644
--- a/src/lib/eina/eina_thread_queue.c
+++ b/src/lib/eina/eina_thread_queue.c
@@ -124,23 +124,6 @@ _eina_thread_queue_msg_block_new(int size)
124} 124}
125 125
126static void 126static void
127_eina_thread_queue_msg_block_real_free(Eina_Thread_Queue_Msg_Block *blk)
128{
129 eina_lock_take(&(blk->lock_non_0_ref));
130 eina_lock_release(&(blk->lock_non_0_ref));
131 eina_lock_free(&(blk->lock_non_0_ref));
132#ifndef ATOMIC
133 eina_spinlock_take(&(blk->lock_ref));
134 eina_spinlock_release(&(blk->lock_ref));
135 eina_spinlock_free(&(blk->lock_ref));
136 eina_spinlock_take(&(blk->lock_first));
137 eina_spinlock_release(&(blk->lock_first));
138 eina_spinlock_free(&(blk->lock_first));
139#endif
140 free(blk);
141}
142
143static void
144_eina_thread_queue_msg_block_free(Eina_Thread_Queue_Msg_Block *blk) 127_eina_thread_queue_msg_block_free(Eina_Thread_Queue_Msg_Block *blk)
145{ 128{
146 Eina_Mempool *mp; 129 Eina_Mempool *mp;