Module Name: src
Committed By: maxv
Date: Wed Mar 28 14:30:42 UTC 2018
Modified Files:
src/sys/netinet: tcp_input.c
Log Message:
Remove unused variable.
To generate a diff of this commit:
cvs rdiff -u -r1.391 -r1.392 src/sys/netinet/tcp_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.391 src/sys/netinet/tcp_input.c:1.392
--- src/sys/netinet/tcp_input.c:1.391 Wed Mar 28 14:22:16 2018
+++ src/sys/netinet/tcp_input.c Wed Mar 28 14:30:42 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.391 2018/03/28 14:22:16 maxv Exp $ */
+/* $NetBSD: tcp_input.c,v 1.392 2018/03/28 14:30:42 maxv Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.391 2018/03/28 14:22:16 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.392 2018/03/28 14:30:42 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -4167,13 +4167,10 @@ syn_cache_add(struct sockaddr *src, stru
struct syn_cache *sc;
struct syn_cache_head *scp;
struct mbuf *ipopts;
- struct tcp_opt_info opti;
int s;
tp = sototcpcb(so);
- memset(&opti, 0, sizeof(opti));
-
/*
* Initialize some local state.
*/