git: 9990340f6c9d - stable/15 - sound: Remove dead code in pcm/ac97.c

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 09:55:18 UTC
The branch stable/15 has been updated by christos:

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

commit 9990340f6c9d035ab8a4ba821d7bf851c8689342
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:32:36 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-31 09:54:44 +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
    
    (cherry picked from commit d048cec5fb41cf9529dd0b637a51c7ee72b59b3b)
---
 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;
 }