Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2026 10:39:12 +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: d048cec5fb41 - main - sound: Remove dead code in pcm/ac97.c
Message-ID:  <69c269d0.334b0.65b3404c@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=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;
 }


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c269d0.334b0.65b3404c>