Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2026 09:55:18 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9990340f6c9d - stable/15 - sound: Remove dead code in pcm/ac97.c
Message-ID:  <69cb9a06.3b1e1.1f9a1c73@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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;
 }


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cb9a06.3b1e1.1f9a1c73>