Date: Wed, 13 Apr 2022 23:09:19 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: 8fcf690b83ce - main - lpt: Mark ppbus in lptout unused. Message-ID: <202204132309.23DN9J6S074234@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=8fcf690b83ceb651ab73ecadfb7bd6f82da45c8b commit 8fcf690b83ceb651ab73ecadfb7bd6f82da45c8b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:20 +0000 lpt: Mark ppbus in lptout unused. It is used both in an assertion under INVARIANTS as well as in a custom debug trace. --- sys/dev/ppbus/lpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index f4510b464a97..f87a05e1fcbf 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -447,7 +447,7 @@ lptout(void *arg) { struct lpt_data *sc = arg; device_t dev = sc->sc_dev; - device_t ppbus; + device_t ppbus __unused; ppbus = device_get_parent(dev); ppb_assert_locked(ppbus);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132309.23DN9J6S074234>