svn commit: r211332 - head/sys/netinet

Andre Oppermann andre at FreeBSD.org
Sun Aug 15 13:07:09 UTC 2010


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);


More information about the svn-src-all mailing list