HomeFreeBSD

multicast code: Quiet unused warnings for variables used for KTR traces.

Description

multicast code: Quiet unused warnings for variables used for KTR traces.

For nallow and nblock, move the variables under #ifdef KTR.

For return values from functions logged in KTR traces, mark the
variables as __unused rather than having to #ifdef the assignment of
the function return value.

Details

Provenance
jhbAuthored on Apr 6 2022, 11:45 PM
Parents
rGf7236dd0684e: change_mpath_route: Remove write-only nh variable.
Branches
Unknown
Tags
Unknown