Author: bz
Date: Fri May 30 22:34:06 2014
New Revision: 266907
URL: http://svnweb.freebsd.org/changeset/base/266907

Log:
  While PAWS is disabled, there are no consumers for the tcp options
  argument to tcp_twcheck();  thus mark it __unused.
  
  MFC after:    2 weeks

Modified:
  head/sys/netinet/tcp_timewait.c

Modified: head/sys/netinet/tcp_timewait.c
==============================================================================
--- head/sys/netinet/tcp_timewait.c     Fri May 30 21:18:53 2014        
(r266906)
+++ head/sys/netinet/tcp_timewait.c     Fri May 30 22:34:06 2014        
(r266907)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to