Merge pull request #1573 in FS/freeswitch from fs-11164-fix-unused-func to master

* commit '82350aced53bf76dce581b1264512d61ddafc768':
  FS-11164 fix unused function regression from 578d914b9
This commit is contained in:
Mike Jerris 2018-08-23 23:58:32 +00:00
commit 50dcc7a422
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;