FS-11164 fix unused function regression from 578d914b9

This commit is contained in:
Seven Du 2018-08-24 07:56:40 +08:00
parent 723782ec7f
commit 82350aced5
1 changed files with 2 additions and 3 deletions

View File

@ -200,7 +200,7 @@ switch_jb_node_t *sort_nodes(switch_jb_node_t *list, int (*cmp)(const void *, co
}
}
static inline void thin_frames(switch_jb_t *jb, int freq, int max);
// static inline void thin_frames(switch_jb_t *jb, int freq, int max);
static inline switch_jb_node_t *new_node(switch_jb_t *jb)
@ -391,6 +391,7 @@ static inline uint32_t jb_find_lowest_ts(switch_jb_t *jb)
return lowest ? lowest->packet.header.ts : 0;
}
#if 0
static inline void thin_frames(switch_jb_t *jb, int freq, int max)
{
switch_jb_node_t *node, *this_node;
@ -420,8 +421,6 @@ static inline void thin_frames(switch_jb_t *jb, int freq, int max)
switch_mutex_unlock(jb->list_mutex);
}
#if 0
static inline switch_jb_node_t *jb_find_highest_node(switch_jb_t *jb)
{
switch_jb_node_t *np, *highest = NULL;