Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Comment out incorrect KASSERTs
details: https://anonhg.NetBSD.org/src/rev/a08d0cc2e8fe
branches: nick-nhusb
changeset: 334530:a08d0cc2e8fe
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jun 29 06:38:12 2016 +0000
description:
Comment out incorrect KASSERTs
diffstat:
sys/dev/usb/ucom.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r edcee02f3fbb -r a08d0cc2e8fe sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c Tue Jun 28 11:47:53 2016 +0000
+++ b/sys/dev/usb/ucom.c Wed Jun 29 06:38:12 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ucom.c,v 1.108.2.16 2016/06/28 11:47:53 skrll Exp $ */
+/* $NetBSD: ucom.c,v 1.108.2.17 2016/06/29 06:38:12 skrll Exp $ */
/*
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.108.2.16 2016/06/28 11:47:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.108.2.17 2016/06/29 06:38:12 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -268,8 +268,8 @@
prop_dictionary_set_int32(device_properties(self), "port",
ucaa->ucaa_portno);
- KASSERT(ucaa->ucaa_bulkin != -1 || (ucaa->ucaa_ipipe && ucaa->ucaa_ixfer));
- KASSERT(ucaa->ucaa_bulkout != -1 || (ucaa->ucaa_opipe && ucaa->ucaa_oxfer));
+ //KASSERT(ucaa->ucaa_bulkin != -1 || (ucaa->ucaa_ipipe && ucaa->ucaa_ixfer));
+ //KASSERT(ucaa->ucaa_bulkout != -1 || (ucaa->ucaa_opipe && ucaa->ucaa_oxfer));
sc->sc_dev = self;
sc->sc_udev = ucaa->ucaa_device;
Home |
Main Index |
Thread Index |
Old Index