diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2002-12-28 02:29:19 +0000 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2002-12-28 02:29:19 +0000 |
commit | 6b9088d9561f2ff7ab68a631cd2ac8f874f817cc (patch) | |
tree | 8da6b7454c142c3c4e9fd76dc2cd11873ca0f257 /sys/net | |
parent | dde96893c92bc25fb17bdfa957ab33af10fcd5b9 (diff) | |
download | FreeBSD-src-6b9088d9561f2ff7ab68a631cd2ac8f874f817cc.zip FreeBSD-src-6b9088d9561f2ff7ab68a631cd2ac8f874f817cc.tar.gz |
Remove useless local variable from raw_input().
Sponsored by: NTT Multimedia Communications Labs
MFC after: 3 days
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/raw_usrreq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c index 7afab70..c45f119 100644 --- a/sys/net/raw_usrreq.c +++ b/sys/net/raw_usrreq.c @@ -72,7 +72,6 @@ raw_input(m0, proto, src, dst) { register struct rawcb *rp; register struct mbuf *m = m0; - register int sockets = 0; struct socket *last; last = 0; @@ -106,7 +105,6 @@ raw_input(m0, proto, src, dst) m_freem(n); else { sorwakeup(last); - sockets++; } } } @@ -118,7 +116,6 @@ raw_input(m0, proto, src, dst) m_freem(m); else { sorwakeup(last); - sockets++; } } else m_freem(m); |