Module Name:    src
Committed By:   jruoho
Date:           Thu Oct 13 05:20:45 UTC 2011

Modified Files:
        src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Remove bogus assertion that came with revisions 1.55-1.56.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/acpi/acpi_cpu_cstate.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/acpi/acpi_cpu_cstate.c
diff -u src/sys/dev/acpi/acpi_cpu_cstate.c:1.57 src/sys/dev/acpi/acpi_cpu_cstate.c:1.58
--- src/sys/dev/acpi/acpi_cpu_cstate.c:1.57	Sat Aug  6 13:19:46 2011
+++ src/sys/dev/acpi/acpi_cpu_cstate.c	Thu Oct 13 05:20:45 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.57 2011/08/06 13:19:46 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.58 2011/10/13 05:20:45 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010, 2011 Jukka Ruohonen <jruoho...@iki.fi>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.57 2011/08/06 13:19:46 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.58 2011/10/13 05:20:45 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -377,8 +377,6 @@ acpicpu_cstate_cst_add(struct acpicpu_so
 		goto out;
 	}
 
-	KASSERT(type == ACPI_STATE_C1 || cs[type].cs_method == 0);
-
 	cs[type].cs_addr = state.cs_addr;
 	cs[type].cs_power = state.cs_power;
 	cs[type].cs_flags = state.cs_flags;

Reply via email to