While PAWS is disabled, there are no consumers for the tcp options

argument to tcp_twcheck();  thus mark it __unused.

MFC after:	2 weeks
This commit is contained in:
Bjoern A. Zeeb 2014-05-30 22:34:06 +00:00
parent a90539544c
commit 700515aa62
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266907

View File

@ -363,7 +363,7 @@ tcp_twstart(struct tcpcb *tp)
* looking for a pcb in the listen state. Returns 0 otherwise. * looking for a pcb in the listen state. Returns 0 otherwise.
*/ */
int int
tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, tcp_twcheck(struct inpcb *inp, struct tcpopt *to __unused, struct tcphdr *th,
struct mbuf *m, int tlen) struct mbuf *m, int tlen)
{ {
struct tcptw *tw; struct tcptw *tw;