From d02f42c663253e7e235e5389ffb180c447f3eb0c Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 4 Aug 2023 11:13:57 +0200 Subject: [PATCH] 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 --- daemon/call.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/daemon/call.c b/daemon/call.c index cd3727d09..21b894c2b 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -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. */ @@ -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); } -// 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. */