Remove useless local variable from raw_input().
Sponsored by: NTT Multimedia Communications Labs MFC after: 3 days
This commit is contained in:
parent
93a7aa79d6
commit
e366b8c087
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108339
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user