Skip to content

Commit

Permalink
jbuf: remove re_trace_init/close
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 27, 2023
1 parent 91c35b0 commit 2d25137
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/jbuf/jbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2d25137

Please sign in to comment.