git: 79ef6bcd7823 - stable/13 - hdspe_dmapsetmap: eliminate write only variable sc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:56 UTC
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