git: 8373c8050360 - main - ng_ppp: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 00:03:22 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8373c80503609c9bfd3e5caa66cdb2caf3473142 commit 8373c80503609c9bfd3e5caa66cdb2caf3473142 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-08 00:01:27 +0000 ng_ppp: Remove unused variable. --- sys/netgraph/ng_ppp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c index c9cb28fd9d04..6c61bcda0ae3 100644 --- a/sys/netgraph/ng_ppp.c +++ b/sys/netgraph/ng_ppp.c @@ -1892,7 +1892,6 @@ ng_ppp_frag_checkstale(node_p node) struct mbuf *m; int seq; item_p item; - int endseq; uint16_t proto; now.tv_sec = 0; /* uninitialized state */ @@ -1941,7 +1940,6 @@ ng_ppp_frag_checkstale(node_p node) } /* Extract completed packet */ - endseq = end->seq; ng_ppp_get_packet(node, &m); if ((m = ng_ppp_cutproto(m, &proto)) == NULL)