HomeFreeBSD

Fix unused variable warning in if_re_netmap.h

Description

Fix unused variable warning in if_re_netmap.h

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

sys/dev/netmap/if_re_netmap.h:179: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:52 PM
Parents
rG95204d7a6368: Adjust tdsaContext_t::NvmdResponseSet declaration to avoid clang 15 warning
Branches
Unknown
Tags
Unknown