From nobody Fri Aug 18 20:05:28 2023 X-Original-To: dev-commits-src-all@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 4RSCXm4jLkz4r2fL; Fri, 18 Aug 2023 20:05:28 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSCXm4N0Hz4PJg; Fri, 18 Aug 2023 20:05:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692389128; 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=TxGf9QVZ7RtAA1jEbSdh8Qt8TAPw24YJuhEDqkgn9Ss=; b=Ne/A2zQBfHlyPrifRvW3WK6RgXlylnJX0NIZFiHsgrWtL7GRxtVAe3MIGoEGT2lCy6YEKk 5RG8iGjN4s6BrxCwsnlhV1f515QHeU51gEYTFMqvN6V5jm6FoyGlXDiijf4WNR/t5U2O1I paNG/mlC300qeyZ4f6k1rQZUmFnzGQV8nH4QXVu/6F8z2RN22x/fhoj/GgaD6wrkDcr9i4 vWeR7Auo7nU5ks0H25AVJYE8Nul1SinFtAmWSBVfucgb3Jk9viGmy/uDDGyV+TZbim9EES 1EAYg+GaW+LrDowRawfa5zQzhfPBMpbltK6G2EgUW0F3DwBjuOFROHON+SFw4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692389128; 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=TxGf9QVZ7RtAA1jEbSdh8Qt8TAPw24YJuhEDqkgn9Ss=; b=UyfHughB5Sq/1Jjh4rjN6pxYl5oGM/kRIDp56glIrLDEO0x1qIxnNgDEDgl8VRNx7vIhHA cCgVHiA1rWq2sNv/sNET4bnJnfg/9l46ZZTDF3FkQhrKSMj7D+J34+lkLSgzcEL8W/pBJA RjC6SiRTV1LpWdc3X6dMaDdsqAX/srNM0I+r6ve1aMRGgBcbiWjjC45cqkAS6CsO8RWuJt 8hBeHVKVs+mn3Yyu7a/HkJ6O+8H7jwUWAzUdurHfkB8G6lHZgsWBowc4kseXVfgr4tHLtk voIqIrg0c7Xf4Omore5bAbKkC7PvaOUZBt9FuANenYEITeyd2WGEHfv7uhdOjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692389128; a=rsa-sha256; cv=none; b=UYLMuJsADmYPBRAJkH5WgQ3hIhPOGTe82kop7elvbuaTR0eEweFfXJgC48nclYl4xiJM4x Q7xwpyc5Mw+npmOd53QKTi+BIG8TtbvzFKrqZgL+iqj9pB4QRR1gVise8m62b6UbdIBdC4 f1G1Yj4h/2S3tSZ8+HzLYgdMXMBc3YxXH7oyfeYeIFVXN9eiRAqZmGV1szch57DFh6Yx7P UUtGobPJubDUh0/UgoEa8YEA4aJlJ4zJ96/aT2ocKyxHJ3u+V8a8dqKBXQFbgI22LR0+vy ta5o1OKTYchuD5Ms1kgOxfOEfUYPmVfiNFif6UOuHNofoaCT2bpao+KqlQ3apA== 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 4RSCXm38qSzVCP; Fri, 18 Aug 2023 20:05:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37IK5SBH001731; Fri, 18 Aug 2023 20:05:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37IK5Shs001728; Fri, 18 Aug 2023 20:05:28 GMT (envelope-from git) Date: Fri, 18 Aug 2023 20:05:28 GMT Message-Id: <202308182005.37IK5Shs001728@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 5aacf339f601 - main - sys: Remove SND_DECLARE_FILE List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5aacf339f60109917f8e18f5645cb66f544b33d2 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=5aacf339f60109917f8e18f5645cb66f544b33d2 commit 5aacf339f60109917f8e18f5645cb66f544b33d2 Author: John Baldwin AuthorDate: 2023-08-18 20:05:12 +0000 Commit: John Baldwin CommitDate: 2023-08-18 20:05:12 +0000 sys: Remove SND_DECLARE_FILE Reviewed by: kbowling, imp, emaste Differential Revision: https://reviews.freebsd.org/D41499 --- sys/arm/broadcom/bcm2835/bcm2835_audio.c | 2 -- sys/dev/sound/pci/als4000.c | 2 -- sys/dev/sound/pci/atiixp.c | 2 -- sys/dev/sound/pci/cmi.c | 2 -- sys/dev/sound/pci/cs4281.c | 2 -- sys/dev/sound/pci/csa.c | 2 -- sys/dev/sound/pci/csamidi.c | 2 -- sys/dev/sound/pci/csapcm.c | 2 -- sys/dev/sound/pci/emu10k1.c | 2 -- sys/dev/sound/pci/envy24.c | 2 -- sys/dev/sound/pci/envy24ht.c | 2 -- sys/dev/sound/pci/es137x.c | 2 -- sys/dev/sound/pci/fm801.c | 2 -- sys/dev/sound/pci/hda/hdaa.c | 2 -- sys/dev/sound/pci/hda/hdaa_patches.c | 2 -- sys/dev/sound/pci/hda/hdac.c | 2 -- sys/dev/sound/pci/hda/hdacc.c | 2 -- sys/dev/sound/pci/hdspe-pcm.c | 2 -- sys/dev/sound/pci/hdspe.c | 2 -- sys/dev/sound/pci/ich.c | 2 -- sys/dev/sound/pci/maestro3.c | 2 -- sys/dev/sound/pci/neomagic.c | 2 -- sys/dev/sound/pci/solo.c | 2 -- sys/dev/sound/pci/t4dwave.c | 2 -- sys/dev/sound/pci/via8233.c | 2 -- sys/dev/sound/pci/via82c686.c | 2 -- sys/dev/sound/pci/vibes.c | 2 -- sys/dev/sound/pcm/ac97.c | 2 -- sys/dev/sound/pcm/ac97_patch.c | 2 -- sys/dev/sound/pcm/buffer.c | 2 -- sys/dev/sound/pcm/channel.c | 2 -- sys/dev/sound/pcm/dsp.c | 2 -- sys/dev/sound/pcm/feeder.c | 2 -- sys/dev/sound/pcm/feeder_chain.c | 2 -- sys/dev/sound/pcm/feeder_eq.c | 2 -- sys/dev/sound/pcm/feeder_format.c | 2 -- sys/dev/sound/pcm/feeder_matrix.c | 2 -- sys/dev/sound/pcm/feeder_mixer.c | 2 -- sys/dev/sound/pcm/feeder_rate.c | 2 -- sys/dev/sound/pcm/feeder_volume.c | 2 -- sys/dev/sound/pcm/mixer.c | 2 -- sys/dev/sound/pcm/sndstat.c | 13 ------------- sys/dev/sound/pcm/sound.c | 2 -- sys/dev/sound/pcm/sound.h | 4 ---- sys/dev/sound/pcm/vchan.c | 2 -- 45 files changed, 103 deletions(-) diff --git a/sys/arm/broadcom/bcm2835/bcm2835_audio.c b/sys/arm/broadcom/bcm2835/bcm2835_audio.c index 0d430cf19df7..e0f525fa9520 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_audio.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_audio.c @@ -38,8 +38,6 @@ #include "vc_vchi_audioserv_defs.h" -SND_DECLARE_FILE(""); - /* Audio destination */ #define DEST_AUTO 0 #define DEST_HEADPHONES 1 diff --git a/sys/dev/sound/pci/als4000.c b/sys/dev/sound/pci/als4000.c index 89f7d6385493..5b7247517c13 100644 --- a/sys/dev/sound/pci/als4000.c +++ b/sys/dev/sound/pci/als4000.c @@ -48,8 +48,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - /* Debugging macro's */ #undef DEB #ifndef DEB diff --git a/sys/dev/sound/pci/atiixp.c b/sys/dev/sound/pci/atiixp.c index 99468367c998..78be9475acd3 100644 --- a/sys/dev/sound/pci/atiixp.c +++ b/sys/dev/sound/pci/atiixp.c @@ -69,8 +69,6 @@ #include -SND_DECLARE_FILE(""); - #define ATI_IXP_DMA_RETRY_MAX 100 #define ATI_IXP_BUFSZ_MIN 4096 diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c index 89a1eb24d878..4fd6ac4c0a75 100644 --- a/sys/dev/sound/pci/cmi.c +++ b/sys/dev/sound/pci/cmi.c @@ -61,8 +61,6 @@ #include "mixer_if.h" #include "mpufoi_if.h" -SND_DECLARE_FILE(""); - /* Supported chip ID's */ #define CMI8338A_PCI_ID 0x010013f6 #define CMI8338B_PCI_ID 0x010113f6 diff --git a/sys/dev/sound/pci/cs4281.c b/sys/dev/sound/pci/cs4281.c index fccbf807d965..25beb3f7fd0d 100644 --- a/sys/dev/sound/pci/cs4281.c +++ b/sys/dev/sound/pci/cs4281.c @@ -45,8 +45,6 @@ #include -SND_DECLARE_FILE(""); - #define CS4281_DEFAULT_BUFSZ 16384 /* Max fifo size for full duplex is 64 */ diff --git a/sys/dev/sound/pci/csa.c b/sys/dev/sound/pci/csa.c index 68edfd9338c2..7bb7967b74e7 100644 --- a/sys/dev/sound/pci/csa.c +++ b/sys/dev/sound/pci/csa.c @@ -54,8 +54,6 @@ #include -SND_DECLARE_FILE(""); - /* This is the pci device id. */ #define CS4610_PCI_ID 0x60011013 #define CS4614_PCI_ID 0x60031013 diff --git a/sys/dev/sound/pci/csamidi.c b/sys/dev/sound/pci/csamidi.c index cc4b41f86af9..df1699092990 100644 --- a/sys/dev/sound/pci/csamidi.c +++ b/sys/dev/sound/pci/csamidi.c @@ -54,8 +54,6 @@ #include "mpufoi_if.h" -SND_DECLARE_FILE(""); - /* pulled from mpu401.c */ #define MPU_DATAPORT 0 #define MPU_CMDPORT 1 diff --git a/sys/dev/sound/pci/csapcm.c b/sys/dev/sound/pci/csapcm.c index 14820a9c2216..8715072ec0e5 100644 --- a/sys/dev/sound/pci/csapcm.c +++ b/sys/dev/sound/pci/csapcm.c @@ -43,8 +43,6 @@ #include #include -SND_DECLARE_FILE(""); - /* Buffer size on dma transfer. Fixed for CS416x. */ #define CS461x_BUFFSIZE (4 * 1024) diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c index d4624a549e42..92937c2d0c42 100644 --- a/sys/dev/sound/pci/emu10k1.c +++ b/sys/dev/sound/pci/emu10k1.c @@ -43,8 +43,6 @@ #include #include "mpufoi_if.h" -SND_DECLARE_FILE(""); - /* -------------------------------------------------------------------- */ #define NUM_G 64 /* use all channels */ diff --git a/sys/dev/sound/pci/envy24.c b/sys/dev/sound/pci/envy24.c index 8039d4e3186c..24b5abc0eeb9 100644 --- a/sys/dev/sound/pci/envy24.c +++ b/sys/dev/sound/pci/envy24.c @@ -41,8 +41,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - static MALLOC_DEFINE(M_ENVY24, "envy24", "envy24 audio"); /* -------------------------------------------------------------------- */ diff --git a/sys/dev/sound/pci/envy24ht.c b/sys/dev/sound/pci/envy24ht.c index e9b6771e2162..6a3ef5afcf59 100644 --- a/sys/dev/sound/pci/envy24ht.c +++ b/sys/dev/sound/pci/envy24ht.c @@ -53,8 +53,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - static MALLOC_DEFINE(M_ENVY24HT, "envy24ht", "envy24ht audio"); /* -------------------------------------------------------------------- */ diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index a11a106fee2f..8c1c2b34e1cf 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -90,8 +90,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - #define MEM_MAP_REG 0x14 /* PCI IDs of supported chips */ diff --git a/sys/dev/sound/pci/fm801.c b/sys/dev/sound/pci/fm801.c index 34fb1f6f1bf6..d7aa731175bb 100644 --- a/sys/dev/sound/pci/fm801.c +++ b/sys/dev/sound/pci/fm801.c @@ -35,8 +35,6 @@ #include #include -SND_DECLARE_FILE(""); - #define PCI_VENDOR_FORTEMEDIA 0x1319 #define PCI_DEVICE_FORTEMEDIA1 0x08011319 /* Audio controller */ #define PCI_DEVICE_FORTEMEDIA2 0x08021319 /* Joystick controller */ diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c index ef8f634ac8e8..1831ae0c1f19 100644 --- a/sys/dev/sound/pci/hda/hdaa.c +++ b/sys/dev/sound/pci/hda/hdaa.c @@ -47,8 +47,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - #define hdaa_lock(devinfo) snd_mtxlock((devinfo)->lock) #define hdaa_unlock(devinfo) snd_mtxunlock((devinfo)->lock) #define hdaa_lockassert(devinfo) snd_mtxassert((devinfo)->lock) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 8331312b69c9..5bb4dcd79af7 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -47,8 +47,6 @@ #include "pin_patch.h" #include "pin_patch_realtek.h" -SND_DECLARE_FILE(""); - static const struct { uint32_t model; uint32_t id; diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 79ab71516cd9..422f7f930ea5 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -51,8 +51,6 @@ #define HDA_DRV_TEST_REV "20120126_0002" -SND_DECLARE_FILE(""); - #define hdac_lock(sc) snd_mtxlock((sc)->lock) #define hdac_unlock(sc) snd_mtxunlock((sc)->lock) #define hdac_lockassert(sc) snd_mtxassert((sc)->lock) diff --git a/sys/dev/sound/pci/hda/hdacc.c b/sys/dev/sound/pci/hda/hdacc.c index 4616b3b23a48..b551b4b37701 100644 --- a/sys/dev/sound/pci/hda/hdacc.c +++ b/sys/dev/sound/pci/hda/hdacc.c @@ -43,8 +43,6 @@ #include #include -SND_DECLARE_FILE(""); - struct hdacc_fg { device_t dev; nid_t nid; diff --git a/sys/dev/sound/pci/hdspe-pcm.c b/sys/dev/sound/pci/hdspe-pcm.c index b23304d32fc7..04ab7d2d35ce 100644 --- a/sys/dev/sound/pci/hdspe-pcm.c +++ b/sys/dev/sound/pci/hdspe-pcm.c @@ -40,8 +40,6 @@ #include -SND_DECLARE_FILE(""); - struct hdspe_latency { uint32_t n; uint32_t period; diff --git a/sys/dev/sound/pci/hdspe.c b/sys/dev/sound/pci/hdspe.c index ac253b28df3a..7124fb1f5c57 100644 --- a/sys/dev/sound/pci/hdspe.c +++ b/sys/dev/sound/pci/hdspe.c @@ -40,8 +40,6 @@ #include -SND_DECLARE_FILE(""); - static struct hdspe_channel chan_map_aio[] = { { 0, 1, "line", 1, 1 }, { 6, 7, "phone", 1, 0 }, diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c index d5e8a48a186c..70a9440d9b23 100644 --- a/sys/dev/sound/pci/ich.c +++ b/sys/dev/sound/pci/ich.c @@ -38,8 +38,6 @@ #include #include -SND_DECLARE_FILE(""); - /* -------------------------------------------------------------------- */ #define ICH_TIMEOUT 1000 /* semaphore timeout polling count */ diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index c60c69b6baf5..9ba83fe4de11 100644 --- a/sys/dev/sound/pci/maestro3.c +++ b/sys/dev/sound/pci/maestro3.c @@ -69,8 +69,6 @@ #include #include -SND_DECLARE_FILE(""); - /* -------------------------------------------------------------------- */ enum {CHANGE=0, CALL=1, INTR=2, BORING=3, NONE=-1}; diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index 162d99b57c70..1b325205da5f 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -40,8 +40,6 @@ #include #include -SND_DECLARE_FILE(""); - /* -------------------------------------------------------------------- */ #define NM_BUFFSIZE 16384 diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c index 1788929811ed..d626da4fbb68 100644 --- a/sys/dev/sound/pci/solo.c +++ b/sys/dev/sound/pci/solo.c @@ -39,8 +39,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - #define SOLO_DEFAULT_BUFSZ 16384 #define ABS(x) (((x) < 0)? -(x) : (x)) diff --git a/sys/dev/sound/pci/t4dwave.c b/sys/dev/sound/pci/t4dwave.c index b7363402ba8b..250b04426482 100644 --- a/sys/dev/sound/pci/t4dwave.c +++ b/sys/dev/sound/pci/t4dwave.c @@ -37,8 +37,6 @@ #include #include -SND_DECLARE_FILE(""); - /* -------------------------------------------------------------------- */ #define TDX_PCI_ID 0x20001023 diff --git a/sys/dev/sound/pci/via8233.c b/sys/dev/sound/pci/via8233.c index 6656670c9e1c..517e80fadb4f 100644 --- a/sys/dev/sound/pci/via8233.c +++ b/sys/dev/sound/pci/via8233.c @@ -50,8 +50,6 @@ #include -SND_DECLARE_FILE(""); - #define VIA8233_PCI_ID 0x30591106 #define VIA8233_REV_ID_8233PRE 0x10 diff --git a/sys/dev/sound/pci/via82c686.c b/sys/dev/sound/pci/via82c686.c index 076df8c81aa0..266441a938c6 100644 --- a/sys/dev/sound/pci/via82c686.c +++ b/sys/dev/sound/pci/via82c686.c @@ -39,8 +39,6 @@ #include -SND_DECLARE_FILE(""); - #define VIA_PCI_ID 0x30581106 #define NSEGS 4 /* Number of segments in SGD table */ diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c index 1299f15dc814..538aa961d987 100644 --- a/sys/dev/sound/pci/vibes.c +++ b/sys/dev/sound/pci/vibes.c @@ -44,8 +44,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - /* ------------------------------------------------------------------------- */ /* Constants */ diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index d83e3f2fefa5..d04ec2d8271c 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -38,8 +38,6 @@ #include "mixer_if.h" -SND_DECLARE_FILE(""); - static MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); struct ac97mixtable_entry { diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c index aff8075fe96c..671b6598f51a 100644 --- a/sys/dev/sound/pcm/ac97_patch.c +++ b/sys/dev/sound/pcm/ac97_patch.c @@ -34,8 +34,6 @@ #include #include -SND_DECLARE_FILE(""); - void ad1886_patch(struct ac97_info* codec) { #define AC97_AD_JACK_SPDIF 0x72 diff --git a/sys/dev/sound/pcm/buffer.c b/sys/dev/sound/pcm/buffer.c index d5a519362c5e..915c9110f107 100644 --- a/sys/dev/sound/pcm/buffer.c +++ b/sys/dev/sound/pcm/buffer.c @@ -40,8 +40,6 @@ #define SND_DECLARE_FXDIV #include "snd_fxdiv_gen.h" -SND_DECLARE_FILE(""); - struct snd_dbuf * sndbuf_create(device_t dev, char *drv, char *desc, struct pcm_channel *channel) { diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index d56f5fb51dc9..4cb2b2a92b44 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -38,8 +38,6 @@ #include "feeder_if.h" -SND_DECLARE_FILE(""); - int report_soft_formats = 1; SYSCTL_INT(_hw_snd, OID_AUTO, report_soft_formats, CTLFLAG_RW, &report_soft_formats, 0, "report software-emulated formats"); diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 98d241e65a52..5aa7979b98c9 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -43,8 +43,6 @@ #include #include -SND_DECLARE_FILE(""); - static int dsp_mmap_allow_prot_exec = 0; SYSCTL_INT(_hw_snd, OID_AUTO, compat_linux_mmap, CTLFLAG_RWTUN, &dsp_mmap_allow_prot_exec, 0, diff --git a/sys/dev/sound/pcm/feeder.c b/sys/dev/sound/pcm/feeder.c index 8fb377533907..8278a85948a8 100644 --- a/sys/dev/sound/pcm/feeder.c +++ b/sys/dev/sound/pcm/feeder.c @@ -35,8 +35,6 @@ #include "feeder_if.h" -SND_DECLARE_FILE(""); - static MALLOC_DEFINE(M_FEEDER, "feeder", "pcm feeder"); #define MAXFEEDERS 256 diff --git a/sys/dev/sound/pcm/feeder_chain.c b/sys/dev/sound/pcm/feeder_chain.c index 01def5f6e9cb..52351ef58510 100644 --- a/sys/dev/sound/pcm/feeder_chain.c +++ b/sys/dev/sound/pcm/feeder_chain.c @@ -34,8 +34,6 @@ #include "feeder_if.h" -SND_DECLARE_FILE(""); - /* chain state */ struct feeder_chain_state { uint32_t afmt; /* audio format */ diff --git a/sys/dev/sound/pcm/feeder_eq.c b/sys/dev/sound/pcm/feeder_eq.c index 70797a706367..a097b13cd986 100644 --- a/sys/dev/sound/pcm/feeder_eq.c +++ b/sys/dev/sound/pcm/feeder_eq.c @@ -45,8 +45,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif #include "feeder_eq_gen.h" diff --git a/sys/dev/sound/pcm/feeder_format.c b/sys/dev/sound/pcm/feeder_format.c index 3a741430e0ca..1e18e3e07450 100644 --- a/sys/dev/sound/pcm/feeder_format.c +++ b/sys/dev/sound/pcm/feeder_format.c @@ -43,8 +43,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif #define FEEDFORMAT_RESERVOIR (SND_CHN_MAX * PCM_32_BPS) diff --git a/sys/dev/sound/pcm/feeder_matrix.c b/sys/dev/sound/pcm/feeder_matrix.c index 0afdb47c04d8..f5f02e2bf4f5 100644 --- a/sys/dev/sound/pcm/feeder_matrix.c +++ b/sys/dev/sound/pcm/feeder_matrix.c @@ -53,8 +53,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif #define FEEDMATRIX_RESERVOIR (SND_CHN_MAX * PCM_32_BPS) diff --git a/sys/dev/sound/pcm/feeder_mixer.c b/sys/dev/sound/pcm/feeder_mixer.c index 42ebe89d7c09..9f6b653effa3 100644 --- a/sys/dev/sound/pcm/feeder_mixer.c +++ b/sys/dev/sound/pcm/feeder_mixer.c @@ -37,8 +37,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif #undef SND_FEEDER_MULTIFORMAT diff --git a/sys/dev/sound/pcm/feeder_rate.c b/sys/dev/sound/pcm/feeder_rate.c index b2afe0651bf5..c8cc67e8fa80 100644 --- a/sys/dev/sound/pcm/feeder_rate.c +++ b/sys/dev/sound/pcm/feeder_rate.c @@ -60,8 +60,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif #include "feeder_rate_gen.h" diff --git a/sys/dev/sound/pcm/feeder_volume.c b/sys/dev/sound/pcm/feeder_volume.c index fa11a089af76..452d8788a5a5 100644 --- a/sys/dev/sound/pcm/feeder_volume.c +++ b/sys/dev/sound/pcm/feeder_volume.c @@ -38,8 +38,6 @@ #define SND_USE_FXDIV #include "snd_fxdiv_gen.h" - -SND_DECLARE_FILE(""); #endif typedef void (*feed_volume_t)(int *, int *, uint32_t, uint8_t *, uint32_t); diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 0c7576390b72..ee1ed11a8ed0 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -37,8 +37,6 @@ #include "feeder_if.h" #include "mixer_if.h" -SND_DECLARE_FILE(""); - static MALLOC_DEFINE(M_MIXER, "mixer", "mixer"); static int mixer_bypass = 1; diff --git a/sys/dev/sound/pcm/sndstat.c b/sys/dev/sound/pcm/sndstat.c index 6bd3e56687bf..32b47b8ee105 100644 --- a/sys/dev/sound/pcm/sndstat.c +++ b/sys/dev/sound/pcm/sndstat.c @@ -49,9 +49,6 @@ #include #include - -SND_DECLARE_FILE(""); - #define SS_TYPE_PCM 1 #define SS_TYPE_MIDI 2 #define SS_TYPE_SEQUENCER 3 @@ -1100,11 +1097,6 @@ sndstat_register(device_t dev, char *str, sndstat_handler handler) return (0); } -void -sndstat_registerfile(void *dummy __unused) -{ -} - int sndstat_unregister(device_t dev) { @@ -1125,11 +1117,6 @@ sndstat_unregister(device_t dev) return (error); } -void -sndstat_unregisterfile(void *dummy __unused) -{ -} - /************************************************************************/ static int diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 17dc8d968b3c..b23a28d3af08 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -44,8 +44,6 @@ #include "feeder_if.h" -SND_DECLARE_FILE(""); - devclass_t pcm_devclass; int pcm_veto_load = 1; diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 1b9168b9171b..5981266116fb 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -347,11 +347,7 @@ void snd_mtxassert(void *m); typedef int (*sndstat_handler)(struct sbuf *s, device_t dev, int verbose); int sndstat_register(device_t dev, char *str, sndstat_handler handler); -void sndstat_registerfile(void *); int sndstat_unregister(device_t dev); -void sndstat_unregisterfile(void *); - -#define SND_DECLARE_FILE(version) /* usage of flags in device config entry (config file) */ #define DV_F_DRQ_MASK 0x00000007 /* mask for secondary drq */ diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c index c84d8f14e075..d10c3ff4aabb 100644 --- a/sys/dev/sound/pcm/vchan.c +++ b/sys/dev/sound/pcm/vchan.c @@ -36,8 +36,6 @@ #include #include -SND_DECLARE_FILE(""); - /* * [ac3 , dts , linear , 0, linear, 0] */