Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2022 04:29:56 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 79ef6bcd7823 - stable/13 - hdspe_dmapsetmap: eliminate write only variable sc
Message-ID:  <202210020429.2924TuxL058855@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

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

commit 79ef6bcd782369f19555c6ede2629ce026ff9da8
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:33 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-02 04:25:55 +0000

    hdspe_dmapsetmap: eliminate write only variable sc
    
    Sponsored by:           Netflix
    
    (cherry picked from commit ad1b7fd71429468430e379fa0a4152f23b0af90a)
---
 sys/dev/sound/pci/hdspe.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/dev/sound/pci/hdspe.c b/sys/dev/sound/pci/hdspe.c
index 6eb0436816a6..700b85f776dd 100644
--- a/sys/dev/sound/pci/hdspe.c
+++ b/sys/dev/sound/pci/hdspe.c
@@ -122,10 +122,6 @@ hdspe_intr(void *p)
 static void
 hdspe_dmapsetmap(void *arg, bus_dma_segment_t *segs, int nseg, int error)
 {
-	struct sc_info *sc;
-
-	sc = (struct sc_info *)arg;
-
 #if 0
 	device_printf(sc->dev, "hdspe_dmapsetmap()\n");
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210020429.2924TuxL058855>