summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2009-02-28 23:11:11 +0000
committeroster <oster@NetBSD.org>2009-02-28 23:11:11 +0000
commitb39a5d4daa11daa2fadf523dabe46c7236391939 (patch)
treeab7c9b27613239d46dc99755459cebeb6b3247ae /sys/dev/raidframe
parentd7dbe2c6b82f33598b4c907f3f672eb4a26addce (diff)
Nuke a DIAGNOSTIC check that is no longer useful, even for DIAGNOSTIC.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index a599bf371d3..b733ab9f663 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.256 2009/02/28 22:02:17 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.257 2009/02/28 23:11:11 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -139,7 +139,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.256 2009/02/28 22:02:17 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.257 2009/02/28 23:11:11 oster Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -2074,15 +2074,6 @@ rf_DispatchKernelIO(RF_DiskQueue_t *queue, RF_DiskQueueData_t *req)
struct buf *bp;
req->queue = queue;
-
-#if DIAGNOSTIC
- if (queue->raidPtr->raidid >= numraid) {
- printf("Invalid unit number: %d %d\n", queue->raidPtr->raidid,
- numraid);
- panic("Invalid Unit number in rf_DispatchKernelIO");
- }
-#endif
-
bp = req->bp;
switch (req->type) {