diff options
author | bz <bz@FreeBSD.org> | 2014-05-30 22:34:06 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2014-05-30 22:34:06 +0000 |
commit | df1284e0131da18d580af5d53cf35b756271b57c (patch) | |
tree | 066f42c2570791a207d349fcf9f9368c955feb93 | |
parent | b68345e32cd7a23d01e55eaa7094db0f176f95b0 (diff) | |
download | FreeBSD-src-df1284e0131da18d580af5d53cf35b756271b57c.zip FreeBSD-src-df1284e0131da18d580af5d53cf35b756271b57c.tar.gz |
While PAWS is disabled, there are no consumers for the tcp options
argument to tcp_twcheck(); thus mark it __unused.
MFC after: 2 weeks
-rw-r--r-- | sys/netinet/tcp_timewait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 3255af0..7163585 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -363,7 +363,7 @@ tcp_twstart(struct tcpcb *tp) * looking for a pcb in the listen state. Returns 0 otherwise. */ 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 tcptw *tw; |