Module Name:    src
Committed By:   ozaki-r
Date:           Mon May 15 09:51:00 UTC 2017

Modified Files:
        src/sys/netipsec: key.c

Log Message:
Kill useless IPSEC_DEBUG2 (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/netipsec/key.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/netipsec/key.c
diff -u src/sys/netipsec/key.c:1.122 src/sys/netipsec/key.c:1.123
--- src/sys/netipsec/key.c:1.122	Tue May  9 05:38:50 2017
+++ src/sys/netipsec/key.c	Mon May 15 09:51:00 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: key.c,v 1.122 2017/05/09 05:38:50 ozaki-r Exp $	*/
+/*	$NetBSD: key.c,v 1.123 2017/05/15 09:51:00 ozaki-r Exp $	*/
 /*	$FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $	*/
 /*	$KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $	*/
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.122 2017/05/09 05:38:50 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.123 2017/05/15 09:51:00 ozaki-r Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -4756,10 +4756,8 @@ key_timehandler(void* arg)
 	}
     }
 
-#ifndef IPSEC_DEBUG2
 	/* do exchange to tick time !! */
 	callout_reset(&key_timehandler_ch, hz, key_timehandler, NULL);
-#endif /* IPSEC_DEBUG2 */
 
 	mutex_exit(softnet_lock);
 	splx(s);
@@ -7728,10 +7726,7 @@ key_do_init(void)
 	ip6_def_policy.refcnt++;	/*never reclaim this*/
 #endif
 
-
-#ifndef IPSEC_DEBUG2
 	callout_reset(&key_timehandler_ch, hz, key_timehandler, NULL);
-#endif /*IPSEC_DEBUG2*/
 
 	/* initialize key statistics */
 	keystat.getspi_count = 1;

Reply via email to