git: b5e55dbf3574 - main - sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 15:33:01 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=b5e55dbf357472ffa39345b30b8b781e988a440f
commit b5e55dbf357472ffa39345b30b8b781e988a440f
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-03-29 15:32:38 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-03-29 15:32:38 +0000
sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D44554
---
sys/dev/sound/pcm/sound.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 0a8144e97c24..51d1624b2d7e 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -287,9 +287,6 @@ struct snd_mixer;
#define SND_DEV_DSP_SPDIFOUT 19 /* /dev/dsp_spdifout */
#define SND_DEV_DSP_SPDIFIN 20 /* /dev/dsp_spdifin */
-#define SND_DEV_LAST SND_DEV_DSP_SPDIFIN
-#define SND_DEV_MAX PCMMAXDEV
-
#define DSP_DEFAULT_SPEED 8000
#define ON 1