svn commit: r310376 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Wed Dec 21 22:47:11 UTC 2016


Author: glebius
Date: Wed Dec 21 22:47:10 2016
New Revision: 310376
URL: https://svnweb.freebsd.org/changeset/base/310376

Log:
  Remove assigned only variable.

Modified:
  head/sys/netinet/tcp_syncache.c

Modified: head/sys/netinet/tcp_syncache.c
==============================================================================
--- head/sys/netinet/tcp_syncache.c	Wed Dec 21 22:35:26 2016	(r310375)
+++ head/sys/netinet/tcp_syncache.c	Wed Dec 21 22:47:10 2016	(r310376)
@@ -1170,7 +1170,7 @@ syncache_add(struct in_conninfo *inc, st
 	struct syncache_head *sch;
 	struct mbuf *ipopts = NULL;
 	u_int ltflags;
-	int win, sb_hiwat, ip_ttl, ip_tos;
+	int win, ip_ttl, ip_tos;
 	char *s;
 	int rv = 0;
 #ifdef INET6
@@ -1208,7 +1208,6 @@ syncache_add(struct in_conninfo *inc, st
 	ip_ttl = inp->inp_ip_ttl;
 	ip_tos = inp->inp_ip_tos;
 	win = sbspace(&so->so_rcv);
-	sb_hiwat = so->so_rcv.sb_hiwat;
 	ltflags = (tp->t_flags & (TF_NOOPT | TF_SIGNATURE));
 
 #ifdef TCP_RFC7413


More information about the svn-src-head mailing list