1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

lagg: fix unused-but-set-variable

MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2021-11-19 17:22:48 +01:00
parent 588ab3c774
commit 3142d4f622

View File

@ -1834,13 +1834,10 @@ lagg_snd_tag_alloc(struct ifnet *ifp,
struct epoch_tracker et;
const struct if_snd_tag_sw *sw;
struct lagg_snd_tag *lst;
struct lagg_softc *sc;
struct lagg_port *lp;
struct ifnet *lp_ifp;
int error;
sc = ifp->if_softc;
switch (params->hdr.type) {
#ifdef RATELIMIT
case IF_SND_TAG_TYPE_UNLIMITED: