From b0ac243c176935493cc3ac541e6def938465a506 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 16 May 2023 11:17:54 -0400 Subject: [PATCH] MT#55283 simplify pointless expectations Change-Id: Ia1ef14a94ba4a06712185d062eff462d98d4c88b --- daemon/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index 2a3a7bb02..3c5e951fb 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -1457,7 +1457,7 @@ static struct codec_handler *codec_handler_get_rtp(struct call_media *m, int pay struct codec_handler lookup = __codec_handler_lookup_struct(payload_type, sink); h = g_atomic_pointer_get(&m->codec_handler_cache); - if (G_LIKELY(G_LIKELY(h) && G_LIKELY(__codec_handler_eq(&lookup, h)))) + if (G_LIKELY(h) && G_LIKELY(__codec_handler_eq(&lookup, h))) return h; if (G_UNLIKELY(!m->codec_handlers))