git: 36ae1e15b0ab - stable/13 - midicsa_attach: eliminate write only variable func
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:48 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=36ae1e15b0ab037ec7319deeb2801a687172adb3 commit 36ae1e15b0ab037ec7319deeb2801a687172adb3 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 17:53:32 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-10-02 04:25:54 +0000 midicsa_attach: eliminate write only variable func Sponsored by: Netflix (cherry picked from commit 3e423419cf02c9e314b66b51c1fb0f987839de5e) --- sys/dev/sound/pci/csamidi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sound/pci/csamidi.c b/sys/dev/sound/pci/csamidi.c index 21543e736e9f..a013f8d9f3e6 100644 --- a/sys/dev/sound/pci/csamidi.c +++ b/sys/dev/sound/pci/csamidi.c @@ -202,11 +202,9 @@ static int midicsa_attach(device_t dev) { struct csa_midi_softc *scp; - struct sndcard_func *func; int rc = ENXIO; scp = device_get_softc(dev); - func = device_get_ivars(dev); bzero(scp, sizeof(struct csa_midi_softc)); scp->dev = dev;