HomeFreeBSD

qlxge: Inline the one use of a variable only used in a debug trace.

Description

qlxge: Inline the one use of a variable only used in a debug trace.

The other QL_DPRINT*() invocations in qls_init_hw_if() all used the
expanded form instead of the local variable. The module build always
defines QL_DBG in CFLAGS so doesn't trip over this, but adding qlxge
to a kernel config builds without QL_DBG.

Reported by: olivier

Details

Provenance
jhbAuthored on Apr 21 2022, 9:01 PM
Parents
rGa6c09f20e8e0: psm: Swap the unit member in the softc for a device_t.
Branches
Unknown
Tags
Unknown