diff options
author | glebius <glebius@FreeBSD.org> | 2006-01-14 14:17:27 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-01-14 14:17:27 +0000 |
commit | 906a70beb368a5d2654fcbe3f96cf0b2807b3f30 (patch) | |
tree | fce6d76169df2520f1516c0a52b9445f0372abda /sys/netgraph/ng_lmi.c | |
parent | 48240df74cd42e10316bf1def312883f2631f6cf (diff) | |
download | FreeBSD-src-906a70beb368a5d2654fcbe3f96cf0b2807b3f30.zip FreeBSD-src-906a70beb368a5d2654fcbe3f96cf0b2807b3f30.tar.gz |
Remove dead code.
Found with: Coverity Prevent(tm)
Diffstat (limited to 'sys/netgraph/ng_lmi.c')
-rw-r--r-- | sys/netgraph/ng_lmi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netgraph/ng_lmi.c b/sys/netgraph/ng_lmi.c index f78184a..105ba7e 100644 --- a/sys/netgraph/ng_lmi.c +++ b/sys/netgraph/ng_lmi.c @@ -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]; |