HomeFreeBSD

Fix unused variable warning in iflib.c

Description

Fix unused variable warning in iflib.c

With clang 15, the following -Werror warning is produced:

sys/net/iflib.c:993:8: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
        u_int n;
              ^

The 'n' variable appears to have been a debugging aid that has never
been used for anything, so remove it.

MFC after: 3 days

Details

Provenance
dimAuthored on Jul 21 2022, 7:19 PM
Parents
rGfa267a329ffa: Fix unused variable warning in if_lagg.c
Branches
Unknown
Tags
Unknown