git: 029aed928131 - stable/13 - lagg: fix unused-but-set-variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Nov 2021 19:40:12 UTC
The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=029aed928131427bab6274f2a1343d5aecd0ff31 commit 029aed928131427bab6274f2a1343d5aecd0ff31 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2021-11-19 16:22:48 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2021-11-26 03:40:56 +0000 lagg: fix unused-but-set-variable MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 3142d4f622d2f95da5c7c52f60ce840411a07b0a) --- sys/net/if_lagg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index c53e5b283b76..55aae2795644 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -1797,13 +1797,10 @@ lagg_snd_tag_alloc(struct ifnet *ifp, { struct epoch_tracker et; struct lagg_snd_tag *lst; - struct lagg_softc *sc; struct lagg_port *lp; struct ifnet *lp_ifp; int error; - sc = ifp->if_softc; - NET_EPOCH_ENTER(et); lp = lookup_snd_tag_port(ifp, params->hdr.flowid, params->hdr.flowtype, params->hdr.numa_domain);