laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved tnt: Looks good to me, but someone else must approve
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(-)

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 a6cba14..e3c22d9 100644
--- a/src/octoi/frame_rifo.c
+++ b/src/octoi/frame_rifo.c
@@ -84,12 +84,6 @@
return rifo->bitvec[byte] & (1 << bit);
}

-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)

To view, visit change 27849. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I8c6fc5fe82bc3a045a9e5d23965ca6d5532d6112
Gerrit-Change-Number: 27849
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: tnt <tnt@246tNt.com>
Gerrit-MessageType: merged