Module Name:    src
Committed By:   ozaki-r
Date:           Mon Jan 16 08:26:30 UTC 2017

Modified Files:
        src/sys/netinet6: in6.c

Log Message:
Remove KASSERT (revert in6.c,v 1.232)

We don't need it (it's harmless though).


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/netinet6/in6.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/netinet6/in6.c
diff -u src/sys/netinet6/in6.c:1.234 src/sys/netinet6/in6.c:1.235
--- src/sys/netinet6/in6.c:1.234	Mon Jan 16 07:33:36 2017
+++ src/sys/netinet6/in6.c	Mon Jan 16 08:26:30 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: in6.c,v 1.234 2017/01/16 07:33:36 ryo Exp $	*/
+/*	$NetBSD: in6.c,v 1.235 2017/01/16 08:26:30 ozaki-r Exp $	*/
 /*	$KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $	*/
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.234 2017/01/16 07:33:36 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.235 2017/01/16 08:26:30 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1776,8 +1776,6 @@ in6ifa_ifpforlinklocal(const struct ifne
 {
 	struct ifaddr *best_ifa = NULL, *ifa;
 
-	KASSERT(ifp != NULL);
-
 	IFADDR_READER_FOREACH(ifa, ifp) {
 		if (ifa->ifa_addr->sa_family != AF_INET6)
 			continue;

Reply via email to