lpt: Mark ppbus in lptout unused.

It is used both in an assertion under INVARIANTS as well as in a
custom debug trace.
This commit is contained in:
John Baldwin 2022-04-13 16:08:20 -07:00
parent 039880009a
commit 8fcf690b83

View file

@ -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);