diff options
author | Christian Franke <chris@opensourcerouting.org> | 2013-11-19 15:11:41 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-04-22 21:16:10 +0200 |
commit | 514991c76366c2a9f4c644714ad0722df0eed532 (patch) | |
tree | e9cb854e881c4733b3aa5145d7c17388ee99f035 /lib/thread.c | |
parent | tests: Add tests for timers (diff) | |
download | frr-514991c76366c2a9f4c644714ad0722df0eed532.tar.xz frr-514991c76366c2a9f4c644714ad0722df0eed532.zip |
lib: remove unused thread_master_debug function
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/thread.c')
-rw-r--r-- | lib/thread.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/thread.c b/lib/thread.c index 27c29d6c8..ddb95c015 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -496,35 +496,6 @@ DEFUN(clear_thread_cpu, return CMD_SUCCESS; } -/* List allocation and head/tail print out. */ -static void -thread_list_debug (struct thread_list *list) -{ - printf ("count [%d] head [%p] tail [%p]\n", - list->count, list->head, list->tail); -} - -/* Debug print for thread_master. */ -static void __attribute__ ((unused)) -thread_master_debug (struct thread_master *m) -{ - printf ("-----------\n"); - printf ("readlist : "); - thread_list_debug (&m->read); - printf ("writelist : "); - thread_list_debug (&m->write); - printf ("timerlist : "); - thread_list_debug (&m->timer); - printf ("eventlist : "); - thread_list_debug (&m->event); - printf ("unuselist : "); - thread_list_debug (&m->unuse); - printf ("bgndlist : "); - thread_list_debug (&m->background); - printf ("total alloc: [%ld]\n", m->alloc); - printf ("-----------\n"); -} - /* Allocate new thread master. */ struct thread_master * thread_master_create () |