summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--agent/discovery.c16
-rw-r--r--agent/discovery.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/agent/discovery.c b/agent/discovery.c
index 40a6c09..c54ba7d 100644
--- a/agent/discovery.c
+++ b/agent/discovery.c
@@ -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)
{
refresh_free_item (agent, refresh);
diff --git a/agent/discovery.h b/agent/discovery.h
index fbf1c42..436d0ec 100644
--- a/agent/discovery.h
+++ b/agent/discovery.h
@@ -83,7 +83,6 @@ typedef struct
void refresh_free (NiceAgent *agent);
void refresh_prune_stream (NiceAgent *agent, guint stream_id);
void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate);
-void refresh_prune_socket (NiceAgent *agent, NiceSocket *sock);
void refresh_cancel (NiceAgent *agent, CandidateRefresh *refresh);