Date: Sun, 2 Oct 2022 04:29:48 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: 36ae1e15b0ab - stable/13 - midicsa_attach: eliminate write only variable func Message-ID: <202210020429.2924TmPQ058673@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=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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210020429.2924TmPQ058673>