Skip to content

Commit

Permalink
dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Dec 9, 2024
1 parent 06d88f0 commit 7bfc847
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/udx.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@

#define UDX_BANDWIDTH_INTERVAL_SECS 10

#define udx__set_add(s, v) \
v->next = s->next; \
s->next = v; \
v->prev = s; \
if (s->prev == s) s->prev = v;

#define udx__set_remove(v) \
v->next->prev = v->prev; \
v->prev->next = v->next;

typedef struct {
uint32_t seq; // must be the first entry, so its compat with the cirbuf

Expand Down

0 comments on commit 7bfc847

Please sign in to comment.