Browse Source

MT#57719 call.c remove unsed functions

The following functions have been deprecated
due to no use:
- `__offer_answer_get_subscriptions()`
- `__tags_get_subscriptions()`

Change-Id: Id71dcd1a5573720299711b369410cd7fcd9de476
pull/1722/head
Donat Zenichev 2 years ago
parent
commit
d02f42c663
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      daemon/call.c

+ 0
- 18
daemon/call.c View File

@ -3263,14 +3263,6 @@ static void __subscribe_matched_medias(struct call_monologue * a_ml, struct call
} }
} }
// return subscription objects, valid only immediately after __subscribe_offer_answer_both_ways
static void __offer_answer_get_subscriptions(struct call_monologue *a, struct call_monologue *b,
struct call_subscription *rets[2])
{
rets[0] = b->subscribers.head->data;
rets[1] = a->subscribers.head->data;
}
/** /**
* Retrieve exsisting media subscriptions for a call monologue. * Retrieve exsisting media subscriptions for a call monologue.
*/ */
@ -4411,16 +4403,6 @@ static void __tags_associate(struct call_monologue *a, struct call_monologue *b)
g_hash_table_insert(b->associated_tags, a, a); g_hash_table_insert(b->associated_tags, a, a);
} }
// return subscription objects if they haven't been filled in yet
static void __tags_get_subscriptions(struct call_monologue *a, struct call_monologue *b,
struct call_subscription *rets[2])
{
if (rets[0])
return;
rets[0] = call_get_call_subscription(b->subscribers_ht, a);
rets[1] = call_get_call_subscription(a->subscribers_ht, b);
}
/** /**
* Check whether the call object contains some other monologues, which can have own associations. * Check whether the call object contains some other monologues, which can have own associations.
*/ */


Loading…
Cancel
Save