laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27849 )
Change subject: cosmetic: remove dead code {fifo,rifo}_dump() functions ......................................................................
cosmetic: remove dead code {fifo,rifo}_dump() functions
Change-Id: I8c6fc5fe82bc3a045a9e5d23965ca6d5532d6112 --- M src/octoi/frame_fifo.c M src/octoi/frame_rifo.c 2 files changed, 0 insertions(+), 12 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/49/27849/1
diff --git a/src/octoi/frame_fifo.c b/src/octoi/frame_fifo.c index 6ba6beb..b4dfb34 100644 --- a/src/octoi/frame_fifo.c +++ b/src/octoi/frame_fifo.c @@ -34,12 +34,6 @@ * Frame FIFO ***********************************************************************/
-void fifo_dump(struct frame_fifo *fifo) -{ - printf("buf=%p, size=%zu, next_in=%lu, next_out=%lu\n", fifo->buf, sizeof(fifo->buf), - fifo->next_in - fifo->buf, fifo->next_out - fifo->buf); -} - /*! Initialize a frame FIFO. * \param fifo Caller-allocated memory for FIFO data structure * \param threshold After how many available frames shall we call threshold_cb diff --git a/src/octoi/frame_rifo.c b/src/octoi/frame_rifo.c index 6ecfddb..e9aa93c 100644 --- a/src/octoi/frame_rifo.c +++ b/src/octoi/frame_rifo.c @@ -94,12 +94,6 @@ return depth; }
-void rifo_dump(struct frame_rifo *rifo) -{ - printf("buf=%p, size=%zu, next_out=%lu, next_out_fn=%u\n", rifo->buf, sizeof(rifo->buf), - rifo->next_out - rifo->buf, rifo->next_out_fn); -} - /*! Initialize a frame RIFO. * \param rifo Caller-allocated memory for RIFO data structure */ void frame_rifo_init(struct frame_rifo *rifo)