Commit c0321ff5 authored by Jakub Adam's avatar Jakub Adam Committed by Olivier Crête

discovery: Remove unused refresh_prune_socket()

parent 725f8af1
...@@ -274,22 +274,6 @@ void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate) ...@@ -274,22 +274,6 @@ void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate)
} }
} }
void refresh_prune_socket (NiceAgent *agent, NiceSocket *sock)
{
GSList *i;
for (i = agent->refresh_list; i;) {
GSList *next = i->next;
CandidateRefresh *refresh = i->data;
if (refresh->nicesock == sock) {
refresh_free_item (agent, refresh);
}
i = next;
}
}
void refresh_cancel (NiceAgent *agent, CandidateRefresh *refresh) void refresh_cancel (NiceAgent *agent, CandidateRefresh *refresh)
{ {
refresh_free_item (agent, refresh); refresh_free_item (agent, refresh);
......
...@@ -83,7 +83,6 @@ typedef struct ...@@ -83,7 +83,6 @@ typedef struct
void refresh_free (NiceAgent *agent); void refresh_free (NiceAgent *agent);
void refresh_prune_stream (NiceAgent *agent, guint stream_id); void refresh_prune_stream (NiceAgent *agent, guint stream_id);
void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate); void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate);
void refresh_prune_socket (NiceAgent *agent, NiceSocket *sock);
void refresh_cancel (NiceAgent *agent, CandidateRefresh *refresh); void refresh_cancel (NiceAgent *agent, CandidateRefresh *refresh);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment