Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

src: Remove dead code.



details:   https://anonhg.NetBSD.org/src/rev/0b62e684daa8
branches:  trunk
changeset: 318324:0b62e684daa8
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Apr 18 06:57:39 2018 +0000
description:
Remove dead code.

ok ozaki-r@

diffstat:

 sys/netipsec/ipsec.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 6377812fb683 -r 0b62e684daa8 sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c      Wed Apr 18 06:43:10 2018 +0000
+++ b/sys/netipsec/ipsec.c      Wed Apr 18 06:57:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.155 2018/04/17 17:47:05 maxv Exp $ */
+/* $NetBSD: ipsec.c,v 1.156 2018/04/18 06:57:39 maxv Exp $ */
 /* $FreeBSD: src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
 /* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.155 2018/04/17 17:47:05 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.156 2018/04/18 06:57:39 maxv Exp $");
 
 /*
  * IPsec controller part.
@@ -1269,9 +1269,6 @@
                return ENOBUFS;
        }
 
-       /* XXX XXX XXX: What's the point? */
-       (*mp)->m_type = MT_DATA;
-
        if (KEYDEBUG_ON(KEYDEBUG_IPSEC_DUMP)) {
                kdebug_mbuf(__func__, *mp);
        }



Home | Main Index | Thread Index | Old Index