The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8fcf690b83ceb651ab73ecadfb7bd6f82da45c8b
commit 8fcf690b83ceb651ab73ecadfb7bd6f82da45c8b Author: John Baldwin <[email protected]> AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin <[email protected]> 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);
