From 8fcf690b83ceb651ab73ecadfb7bd6f82da45c8b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 13 Apr 2022 16:08:20 -0700 Subject: 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(-) (limited to 'sys/dev') 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); -- cgit v1.3