HomeFreeBSD

Fix unused variable warning in ipsec_mbuf.c

Description

Fix unused variable warning in ipsec_mbuf.c

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

sys/netipsec/ipsec_mbuf.c:93:24: error: variable 'alloc' set but not used [-Werror,-Wunused-but-set-variable]
                int todo, len, done, alloc;
                                     ^

The 'alloc' 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, 8:03 PM
Parents
rGa848315f6804: gmirror.8: Remove references rc.early
Branches
Unknown
Tags
Unknown