git: 332c78231870 - stable/15 - sound: Retire Z_PARANOID
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Mar 2026 09:55:15 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=332c78231870f6a8b17632f9a4bcbbe2c1ba23e3
commit 332c78231870f6a8b17632f9a4bcbbe2c1ba23e3
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:32:22 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-31 09:54:44 +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
(cherry picked from commit 6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7)
---
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