From 1236a098d5cc5414f85af4f0ee5699d6cf65da9e Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 17 Aug 2026 10:05:34 -0400 Subject: [PATCH] MT#55283 remove unneeded null check Change-Id: I393a91097c29aac60e8b60d95b700e5eb5d5552d (cherry picked from commit 8e929876971c8f1aefe9f82d7c37f79f9c057ff0) --- daemon/call.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/call.c b/daemon/call.c index c1e4d4700..4f104c892 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1170,8 +1170,7 @@ bool __init_stream(struct packet_stream *ps) { if (MEDIA_ISSET(media, DTLS)) { dtls_conn = dtls_ptr(ps->selected_sfd); - if (dtls_conn) - dtls_active = dtls_is_active(dtls_conn); + dtls_active = dtls_is_active(dtls_conn); } else dtls_shutdown(ps);