Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2026 10:39:09 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6b91c8d5d2c3 - main - sound: Retire Z_PARANOID
Message-ID:  <69c269cd.33728.3eec0842@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7

commit 6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:32:22 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-24 10:38:41 +0000

    sound: Retire Z_PARANOID
    
    It is always defined.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D56042
---
 sys/dev/sound/pcm/feeder_rate.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/dev/sound/pcm/feeder_rate.c b/sys/dev/sound/pcm/feeder_rate.c
index 8c69f0b4f3c2..173f7811f547 100644
--- a/sys/dev/sound/pcm/feeder_rate.c
+++ b/sys/dev/sound/pcm/feeder_rate.c
@@ -89,8 +89,6 @@
 
 #define Z_RATE_DEFAULT		48000
 
-#define Z_PARANOID		1
-
 #ifdef _KERNEL
 #undef Z_USE_ALPHADRIFT
 #define Z_USE_ALPHADRIFT	1
@@ -703,7 +701,6 @@ z_resampler_reset(struct z_info *info)
 		info->quality = Z_QUALITY_MAX;
 }
 
-#ifdef Z_PARANOID
 static int32_t
 z_resampler_sinc_len(struct z_info *info)
 {
@@ -741,9 +738,6 @@ z_resampler_sinc_len(struct z_info *info)
 
 	return (len);
 }
-#else
-#define z_resampler_sinc_len(i)		(Z_IS_SINC(i) ? Z_SINC_LEN(i) : 1)
-#endif
 
 #define Z_POLYPHASE_COEFF_SHIFT		0
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c269cd.33728.3eec0842>