diff --git a/daemon/media_socket.c b/daemon/media_socket.c index 695a23ce9..053d9db62 100644 --- a/daemon/media_socket.c +++ b/daemon/media_socket.c @@ -1383,13 +1383,6 @@ bool get_consecutive_ports(socket_port_q *out, unsigned int num_ports, struct lo return __get_consecutive_ports(out, num_ports, loc->spec, label); } -void free_socket_intf_list(struct socket_intf_list *il) { - struct socket_port_link *spl; - - while ((spl = i_queue_pop_head(&il->list))) - free_port(spl); - g_free(il); -} void free_sfd_intf_list(struct sfd_intf_list *il) { t_queue_clear(&il->list); g_free(il); diff --git a/include/media_socket.h b/include/media_socket.h index 0640813f3..75849c053 100644 --- a/include/media_socket.h +++ b/include/media_socket.h @@ -427,7 +427,6 @@ INLINE void stream_fd_dec(stream_fd *sfd) { void free_sfd_intf_list(struct sfd_intf_list *il); void free_release_sfd_intf_list(struct sfd_intf_list *il); -void free_socket_intf_list(struct socket_intf_list *il); void __unkernelize(struct packet_stream *, const char *); void unkernelize(struct packet_stream *, const char *);