git: d048cec5fb41 - main - sound: Remove dead code in pcm/ac97.c

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Tue, 24 Mar 2026 10:39:12 UTC
The branch main has been updated by christos:

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

commit d048cec5fb41cf9529dd0b637a51c7ee72b59b3b
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:32:36 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-24 10:38:42 +0000

    sound: Remove dead code in pcm/ac97.c
    
    ac97_uninitmixer() does not exist also.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D56045
---
 sys/dev/sound/pcm/ac97.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c
index 85f1f7ccf4d0..73a1e0280e56 100644
--- a/sys/dev/sound/pcm/ac97.c
+++ b/sys/dev/sound/pcm/ac97.c
@@ -1094,10 +1094,6 @@ ac97mix_uninit(struct snd_mixer *m)
 
 	if (codec == NULL)
 		return -1;
-	/*
-	if (ac97_uninitmixer(codec))
-		return -1;
-	*/
 	ac97_destroy(codec);
 	return 0;
 }