]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
qlxge: Inline the one use of a variable only used in a debug trace.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 21 Apr 2022 21:01:02 +0000 (14:01 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 21 Apr 2022 21:01:02 +0000 (14:01 -0700)
commitd96f81b0c5ae02aae3225e62dddc7ec39f1096af
treec27986b8b4738115991a63dc813c00b9efbc6ca4
parenta6c09f20e8e00bec7d9eb088b4f32dd38bf7f490
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
sys/dev/qlxge/qls_hw.c