cosmetic: remove dead code {fifo,rifo}_dump() functions

Change-Id: I8c6fc5fe82bc3a045a9e5d23965ca6d5532d6112
This commit is contained in:
Harald Welte 2022-04-20 12:31:29 +02:00
parent 1e620fb491
commit 42d2b80fd5
2 changed files with 0 additions and 12 deletions

View File

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

View File

@ -84,12 +84,6 @@ static bool bucket_bit_get(struct frame_rifo *rifo, uint32_t bucket_nr)
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)