Module Name:    src
Committed By:   oster
Date:           Fri Mar  4 17:45:17 UTC 2011

Modified Files:
        src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
Remove bogus RF_ASSERT that must have crept in by accident.
Thanks to Jan-Hinrich Fessel for reporting the issue.


To generate a diff of this commit:
cvs rdiff -u -r1.282 -r1.283 src/sys/dev/raidframe/rf_netbsdkintf.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/dev/raidframe/rf_netbsdkintf.c
diff -u src/sys/dev/raidframe/rf_netbsdkintf.c:1.282 src/sys/dev/raidframe/rf_netbsdkintf.c:1.283
--- src/sys/dev/raidframe/rf_netbsdkintf.c:1.282	Sat Feb 19 07:11:09 2011
+++ src/sys/dev/raidframe/rf_netbsdkintf.c	Fri Mar  4 17:45:17 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf_netbsdkintf.c,v 1.282 2011/02/19 07:11:09 enami Exp $	*/
+/*	$NetBSD: rf_netbsdkintf.c,v 1.283 2011/03/04 17:45:17 oster Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.282 2011/02/19 07:11:09 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.283 2011/03/04 17:45:17 oster Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -2997,8 +2997,6 @@
 	uint64_t numsecs;
 	unsigned secsize;
 
-	RF_ASSERT(raidPtr->bytesPerSector < rf_component_info_offset());
-
 	/* initialize the AutoConfig list */
 	ac_list = NULL;
 

Reply via email to