git: 3e423419cf02 - main - midicsa_attach: eliminate write only variable func
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:38 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3e423419cf02c9e314b66b51c1fb0f987839de5e commit 3e423419cf02c9e314b66b51c1fb0f987839de5e Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 02:16:49 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 04:30:06 +0000 midicsa_attach: eliminate write only variable func Sponsored by: Netflix --- 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;