ng_ppp: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-07 17:01:27 -07:00
parent ad490a5aeb
commit 8373c80503

View File

@ -1892,7 +1892,6 @@ ng_ppp_frag_checkstale(node_p node)
struct mbuf *m; struct mbuf *m;
int seq; int seq;
item_p item; item_p item;
int endseq;
uint16_t proto; uint16_t proto;
now.tv_sec = 0; /* uninitialized state */ now.tv_sec = 0; /* uninitialized state */
@ -1941,7 +1940,6 @@ ng_ppp_frag_checkstale(node_p node)
} }
/* Extract completed packet */ /* Extract completed packet */
endseq = end->seq;
ng_ppp_get_packet(node, &m); ng_ppp_get_packet(node, &m);
if ((m = ng_ppp_cutproto(m, &proto)) == NULL) if ((m = ng_ppp_cutproto(m, &proto)) == NULL)