Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 13:07:08 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211332 - head/sys/netinet
Message-ID:  <201008151307.o7FD78qp061237@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andre
Date: Sun Aug 15 13:07:08 2010
New Revision: 211332
URL: http://svn.freebsd.org/changeset/base/211332

Log:
  Initializing the new error variable to zero in syncache_socket()
  is not necessary.
  
  Noticed by:	bz

Modified:
  head/sys/netinet/tcp_syncache.c

Modified: head/sys/netinet/tcp_syncache.c
==============================================================================
--- head/sys/netinet/tcp_syncache.c	Sun Aug 15 11:44:08 2010	(r211331)
+++ head/sys/netinet/tcp_syncache.c	Sun Aug 15 13:07:08 2010	(r211332)
@@ -627,7 +627,7 @@ syncache_socket(struct syncache *sc, str
 	struct inpcb *inp = NULL;
 	struct socket *so;
 	struct tcpcb *tp;
-	int error = 0;
+	int error;
 	char *s;
 
 	INP_INFO_WLOCK_ASSERT(&V_tcbinfo);



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