mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Remove dead code.
Found with: Coverity Prevent(tm)
This commit is contained in:
parent
903b2fb964
commit
6b5ac2b675
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154357
@ -559,7 +559,6 @@ nglmi_rcvdata(hook_p hook, item_p item)
|
||||
unsigned short dlci;
|
||||
u_short packetlen;
|
||||
int resptype_seen = 0;
|
||||
int seq_seen = 0;
|
||||
struct mbuf *m;
|
||||
|
||||
NGI_GET_M(item, m);
|
||||
@ -669,8 +668,6 @@ nglmi_rcvdata(hook_p hook, item_p item)
|
||||
/* The remote tells us what it thinks the sequence
|
||||
* numbers are. If it's not size 2, it must be a
|
||||
* duplicate to have gotten this far, skip it. */
|
||||
if (seq_seen != 0) /* already seen seq numbers */
|
||||
goto nextIE;
|
||||
if (segsize != 2)
|
||||
goto nextIE;
|
||||
sc->remote_seq = data[2];
|
||||
|
Loading…
Reference in New Issue
Block a user