From 2d2513725eb8842a080f2522cd9b6c0c75b4e223 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 27 Sep 2023 16:59:46 +0200 Subject: [PATCH] jbuf: remove re_trace_init/close --- src/jbuf/jbuf.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/jbuf/jbuf.c b/src/jbuf/jbuf.c index 516f39c53..d2a32dc56 100644 --- a/src/jbuf/jbuf.c +++ b/src/jbuf/jbuf.c @@ -205,9 +205,6 @@ static void jbuf_destructor(void *data) /* Free all packets in the pool list */ list_flush(&jb->pooll); mem_deref(jb->lock); -#ifdef RE_JBUF_TRACE - (void)re_trace_close(); -#endif } @@ -269,10 +266,6 @@ int jbuf_alloc(struct jbuf **jbp, uint32_t min, uint32_t max) DEBUG_INFO("alloc: adding to pool list %u\n", i); } -#ifdef RE_JBUF_TRACE - (void)re_trace_init("jbuf.json"); -#endif - out: if (err) mem_deref(jb);