From 61103a2ac58300fb630f62ca57f35d263d0a3197 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 10 Sep 2025 10:29:05 -0400 Subject: [PATCH] MT#63317 remove unused struct member Change-Id: I2e0fa7ad49e8e0280bc2c7b1b305fcc7d6c8c5e8 --- daemon/call.c | 1 - daemon/media_socket.c | 2 -- include/media_socket.h | 1 - 3 files changed, 4 deletions(-) diff --git a/daemon/call.c b/daemon/call.c index e2f9e3bd5..78fd2498f 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1287,7 +1287,6 @@ void free_sink_handler(struct sink_handler *sh) { void __add_sink_handler(sink_handler_q *q, struct packet_stream *sink, const struct sink_attrs *attrs) { struct sink_handler *sh = g_new0(__typeof(*sh), 1); sh->sink = sink; - sh->kernel_output_idx = -1; if (attrs) sh->attrs = *attrs; t_queue_push_tail(q, sh); diff --git a/daemon/media_socket.c b/daemon/media_socket.c index 3c2eb8185..9a9bc6c31 100644 --- a/daemon/media_socket.c +++ b/daemon/media_socket.c @@ -1739,7 +1739,6 @@ static const char *kernelize_one(kernelize_state *s, if (MEDIA_ISSET(sink->media, BLOCK_EGRESS)) return NULL; - sink_handler->kernel_output_idx = -1; if (!sink->endpoint.address.family) return NULL; @@ -1848,7 +1847,6 @@ static const char *kernelize_one(kernelize_state *s, // got a new output redi->num = reti->num_destinations; reti->num_destinations++; - sink_handler->kernel_output_idx = redi->num; t_queue_push_tail(&s->outputs, redi); assert(s->outputs.length == reti->num_destinations); diff --git a/include/media_socket.h b/include/media_socket.h index 1bb577d44..49671728c 100644 --- a/include/media_socket.h +++ b/include/media_socket.h @@ -268,7 +268,6 @@ struct rtpext_printer { struct sink_handler { struct packet_stream *sink; const struct streamhandler *handler; - int kernel_output_idx; struct sink_attrs attrs; const struct rtpext_printer *rtpext; };