Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Remove bogus RF_ASSERT that must have crep...



details:   https://anonhg.NetBSD.org/src/rev/9ad607aa4cd2
branches:  trunk
changeset: 762887:9ad607aa4cd2
user:      oster <oster%NetBSD.org@localhost>
date:      Fri Mar 04 17:45:17 2011 +0000

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

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r d309ddbd2261 -r 9ad607aa4cd2 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Fri Mar 04 13:49:26 2011 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Fri Mar 04 17:45:17 2011 +0000
@@ -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;
 



Home | Main Index | Thread Index | Old Index