summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-08-16 14:09:26 +0000
committerbz <bz@FreeBSD.org>2014-08-16 14:09:26 +0000
commit1344b41f0b6c7d7948fa1ff68d4ad2a5ec47f36e (patch)
tree045490550d8467a834371dfdc9e375772983996b /sys/netinet
parent9d2fdc5f67499c950d1b57ae249d6e3481a76b02 (diff)
downloadFreeBSD-src-1344b41f0b6c7d7948fa1ff68d4ad2a5ec47f36e.zip
FreeBSD-src-1344b41f0b6c7d7948fa1ff68d4ad2a5ec47f36e.tar.gz
MFC r266907:
While PAWS is disabled, there are no consumers for the tcp options argument to tcp_twcheck(); thus mark it __unused.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_timewait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 65d1c83..b3d7ae6 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -350,7 +350,7 @@ tcp_twrecycleable(struct tcptw *tw)
* 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;
OpenPOWER on IntegriCloud