Date: Tue, 14 Dec 2021 14:32:00 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 17ad5b249dd7 - main - sis: plug set-but-not-used vars Message-ID: <202112141432.1BEEW0fZ017117@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=17ad5b249dd79de8c4b4d7939f8165a07c114ac7 commit 17ad5b249dd79de8c4b4d7939f8165a07c114ac7 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-12-14 14:31:10 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-12-14 14:31:10 +0000 sis: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/sis/if_sis.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sis/if_sis.c b/sys/dev/sis/if_sis.c index b4cc9e38a653..ecc42e991df4 100644 --- a/sys/dev/sis/if_sis.c +++ b/sys/dev/sis/if_sis.c @@ -2372,12 +2372,10 @@ sis_add_sysctls(struct sis_softc *sc) { struct sysctl_ctx_list *ctx; struct sysctl_oid_list *children; - int unit; ctx = device_get_sysctl_ctx(sc->sis_dev); children = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->sis_dev)); - unit = device_get_unit(sc->sis_dev); /* * Unlike most other controllers, NS DP83815/DP83816 controllers * seem to pad with 0xFF when it encounter short frames. According
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112141432.1BEEW0fZ017117>