Date: Tue, 12 Apr 2022 21:59:05 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d8e7d35acfd2 - main - iicoc: Remove unused variable. Message-ID: <202204122159.23CLx5cs035073@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d8e7d35acfd2afe64bb6e3be4b82476cff27663f commit d8e7d35acfd2afe64bb6e3be4b82476cff27663f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-12 21:58:57 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-12 21:58:57 +0000 iicoc: Remove unused variable. --- sys/dev/iicbus/iicoc_pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/iicbus/iicoc_pci.c b/sys/dev/iicbus/iicoc_pci.c index 7a1066439404..ba076a2cb9bd 100644 --- a/sys/dev/iicbus/iicoc_pci.c +++ b/sys/dev/iicbus/iicoc_pci.c @@ -68,11 +68,9 @@ iicoc_detach(device_t dev) static int iicoc_attach(device_t dev) { - int bus; struct iicoc_softc *sc; sc = device_get_softc(dev); - bus = device_get_unit(dev); sc->dev = dev; mtx_init(&sc->sc_mtx, "iicoc", "iicoc", MTX_DEF);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204122159.23CLx5cs035073>