summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-08-28 17:02:34 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-08-28 17:02:34 +0000
commitacf3d0dabe4a1ffbbed0ee308f78acc40353063c (patch)
treee116bc93ce399c96372433df8bab78fd5efd3e9c /sys
parent18ac114a3fbcebb96a4bc2ea2ee59eae995eaef0 (diff)
oops. a bit of debugging code has sneaked in
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/mpii.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index eeb8f7e937d..33359bde370 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.64 2012/08/28 14:52:34 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.65 2012/08/28 17:02:33 mikeb Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
@@ -747,9 +747,6 @@ mpii_load_xs(struct mpii_ccb *ccb)
return (1);
}
- if (dmap->dm_nsegs > sc->sc_max_sgl)
- panic("too many segments");
-
/* safe default staring flags */
flags = MPII_SGE_FL_TYPE_SIMPLE | MPII_SGE_FL_SIZE_64;
/* if data out */