Author: bz
Date: Sat Aug 16 14:09:26 2014
New Revision: 270057
URL: http://svnweb.freebsd.org/changeset/base/270057

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

Modified:
  stable/10/sys/netinet/tcp_timewait.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/tcp_timewait.c
==============================================================================
--- stable/10/sys/netinet/tcp_timewait.c        Sat Aug 16 14:05:31 2014        
(r270056)
+++ stable/10/sys/netinet/tcp_timewait.c        Sat Aug 16 14:09:26 2014        
(r270057)
@@ -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;
_______________________________________________
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