Module Name:    src
Committed By:   ozaki-r
Date:           Wed Feb 28 13:12:53 UTC 2018

Modified Files:
        src/sys/net: bridgestp.c

Log Message:
Remove an obsolete assertion too (fix build)

bif_refs was removed when migrated to use psref.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/net/bridgestp.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/net/bridgestp.c
diff -u src/sys/net/bridgestp.c:1.25 src/sys/net/bridgestp.c:1.26
--- src/sys/net/bridgestp.c:1.25	Wed Feb 28 10:34:04 2018
+++ src/sys/net/bridgestp.c	Wed Feb 28 13:12:53 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: bridgestp.c,v 1.25 2018/02/28 10:34:04 ozaki-r Exp $	*/
+/*	$NetBSD: bridgestp.c,v 1.26 2018/02/28 13:12:53 ozaki-r Exp $	*/
 
 /*
  * Copyright (c) 2000 Jason L. Wright (ja...@thought.net)
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.25 2018/02/28 10:34:04 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bridgestp.c,v 1.26 2018/02/28 13:12:53 ozaki-r Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -594,8 +594,6 @@ bstp_input(struct bridge_softc *sc, stru
 	struct bstp_tcn_unit tu;
 	uint16_t len;
 
-	KASSERT(bif->bif_refs > 0);
-
 	eh = mtod(m, struct ether_header *);
 
 	if ((bif->bif_flags & IFBIF_STP) == 0)

Reply via email to