From nobody Sun Oct 19 18:03:23 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cqRHw1vmHz6DXCW; Sun, 19 Oct 2025 18:03:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqRHw0NQHz3xkp; Sun, 19 Oct 2025 18:03:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760897004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cN1nT7zWFRPCohLBpmWdlcmGqEaniP0RU1H3c9vjHuw=; b=PC/myJa389vz3HNASKevxR29F0OErdgGFeffYlRt365H7RTncYt2XirQnMl2MqMrTiKfF8 /a88nz4Rnybv444NzlVUWGQlwO0+QKMnm2M1TfHqTgSOZDvRh9tmSMka2eIC+AJHmd6mqB WZHEVZuptqYbcpOv85DESn1e7cNNvWdU4JJVaeyA8PhKjriJZayICAad+Q0yyp7ar952hv +M9dDXKnvBBYdsUC9JDj6cA65o1I7gBAGBOMPGGKaAGVxNx0wPyBJJdU529blJcpf03r1k Y0Xf1Coong0cX/qGvKRJvPxOkPeZymZUGYrZT2g+2a2v/+V1NOtRF0mQi8W+gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760897004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cN1nT7zWFRPCohLBpmWdlcmGqEaniP0RU1H3c9vjHuw=; b=lcgi5vXxoo2d4YuxskUCifkbLs96d1j6OWjekSPcepZqlmO5UF/X/Pib/mhOi2tlz9KmjA RFaIGFu0+Dpo89A1rTFUr/5l42kQIJGt3pKUBfbqGBQ4tqf9KXzk1G9yKlbutyIA5+uV0g pipS0HUhlSg2F/E0e82aNtJxZ1eH20kNbvZ9sXO3vkLWOZ1ZDnvy0rEf+hdoz77oK3Srim ADY3gVfilWY2ul3tLB9S1iM2JT8uJ+UOjKsA5GWcuueC24zGZFhT3Ag+TWva1QYuaBKrLa b1A9Rr6k+akGiy9O5fWfezli+8Iaq64onEQnLEttVOW7evbEn89wcucY2maaZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760897004; a=rsa-sha256; cv=none; b=x/pFhdR2Q6wQ5dn9/u+GnYkCuWNhsVs+MAiW60I5wI7n2Dt6KznvyZ2Xs1SX1iA1AzMhM6 xMaF8HJKQm/o+yeU3DwQCHATXXeDD1p4VyGSOAR5+u505LIW1RD9aIeJE0m/I94ym23O43 Ji7wGzdj5uLisXByQmFtaraxkBFrlsDmFtSUr63ZP5GjfiY6fu0Us/MANi9+7Tsn5ofT14 FSoDMkwXj1zy/j9Sl+sVai+SPVG7MRUBYvcutmXwAOdAzi79fuPD970e61vVeHtnEMOePY AbRTdrbfxRaGtt6JR/PRjuihUBB1Tj/PiU/c4tmS/5/EPtlHgyPZNmNBAVZYjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cqRHv6hmBzfRF; Sun, 19 Oct 2025 18:03:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59JI3NAZ034305; Sun, 19 Oct 2025 18:03:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59JI3NXv034302; Sun, 19 Oct 2025 18:03:23 GMT (envelope-from git) Date: Sun, 19 Oct 2025 18:03:23 GMT Message-Id: <202510191803.59JI3NXv034302@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 01a653205313 - stable/15 - virtual_oss(8): Retire unused utils.h List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 01a6532053130ecb6f40919717c2187e06a6f0d4 Auto-Submitted: auto-generated The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=01a6532053130ecb6f40919717c2187e06a6f0d4 commit 01a6532053130ecb6f40919717c2187e06a6f0d4 Author: Christos Margiolis AuthorDate: 2025-10-18 13:17:43 +0000 Commit: Christos Margiolis CommitDate: 2025-10-19 18:02:47 +0000 virtual_oss(8): Retire unused utils.h Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D53174 (cherry picked from commit 30a873ee3739dfd44b233907534ec1c33c21b78a) --- .../virtual_oss/virtual_bt_speaker/bt_speaker.c | 1 - usr.sbin/virtual_oss/virtual_oss/int.h | 3 --- usr.sbin/virtual_oss/virtual_oss/main.c | 1 - usr.sbin/virtual_oss/virtual_oss/utils.h | 31 ---------------------- 4 files changed, 36 deletions(-) diff --git a/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c b/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c index c61eaf1c338d..0e406cccca21 100644 --- a/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c +++ b/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c @@ -47,7 +47,6 @@ #include "avdtp_signal.h" #include "bt.h" -#include "utils.h" static int (*bt_receive_f)(struct bt_config *, void *, int, int); static int (*avdtpACPHandlePacket_f)(struct bt_config *cfg); diff --git a/usr.sbin/virtual_oss/virtual_oss/int.h b/usr.sbin/virtual_oss/virtual_oss/int.h index b3cc573ba8a9..69a943832074 100644 --- a/usr.sbin/virtual_oss/virtual_oss/int.h +++ b/usr.sbin/virtual_oss/virtual_oss/int.h @@ -318,9 +318,6 @@ extern void vclient_rx_equalizer(struct virtual_client *, int64_t *, size_t); extern int vclient_eq_alloc(struct virtual_client *); extern void vclient_eq_free(struct virtual_client *); -/* Internal utilities */ -extern int bt_speaker_main(int argc, char **argv); - /* Internal compressor */ extern void voss_compressor(int64_t *, double *, const struct virtual_compressor *, const unsigned, const unsigned, const int64_t); diff --git a/usr.sbin/virtual_oss/virtual_oss/main.c b/usr.sbin/virtual_oss/virtual_oss/main.c index 3f7fb84ce4c6..afa4ad0727ca 100644 --- a/usr.sbin/virtual_oss/virtual_oss/main.c +++ b/usr.sbin/virtual_oss/virtual_oss/main.c @@ -48,7 +48,6 @@ #include "backend.h" #include "int.h" -#include "utils.h" #include "virtual_oss.h" pthread_mutex_t atomic_mtx; diff --git a/usr.sbin/virtual_oss/virtual_oss/utils.h b/usr.sbin/virtual_oss/virtual_oss/utils.h deleted file mode 100644 index f0998dc75dae..000000000000 --- a/usr.sbin/virtual_oss/virtual_oss/utils.h +++ /dev/null @@ -1,31 +0,0 @@ -/*- - * Copyright (c) 2019 Hans Petter Selasky - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#ifndef _VIRTUAL_UTILS_H_ -#define _VIRTUAL_UTILS_H_ - -int bt_speaker_main(int argc, char **argv); - -#endif /* _VIRTUAL_UTILS_H_ */