Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Remove duplicate assignment, comment doesn't mat...
details: https://anonhg.NetBSD.org/src/rev/4ce29e501010
branches: trunk
changeset: 356860:4ce29e501010
user: rjs <rjs%NetBSD.org@localhost>
date: Tue Oct 17 15:53:01 2017 +0000
description:
Remove duplicate assignment, comment doesn't match it anyway.
diffstat:
sys/netinet/sctp_pcb.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 10238e32cec1 -r 4ce29e501010 sys/netinet/sctp_pcb.c
--- a/sys/netinet/sctp_pcb.c Tue Oct 17 15:49:00 2017 +0000
+++ b/sys/netinet/sctp_pcb.c Tue Oct 17 15:53:01 2017 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.12 2017/10/17 15:49:00 rjs Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.13 2017/10/17 15:53:01 rjs Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.12 2017/10/17 15:49:00 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.13 2017/10/17 15:53:01 rjs Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1351,9 +1351,6 @@
/* zap it */
memset(inp, 0, sizeof(*inp));
- /* bump generations */
- inp->ip_inp.inp.inp_socket = so;
-
/* setup socket pointers */
inp->sctp_socket = so;
Home |
Main Index |
Thread Index |
Old Index