Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2016 22:47:10 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310376 - head/sys/netinet
Message-ID:  <201612212247.uBLMlAv8096969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612212247.uBLMlAv8096969>