Module Name:    src
Committed By:   jruoho
Date:           Fri Mar  4 09:28:34 UTC 2011

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

Log Message:
Remove redundant/wrong increment of a variable.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 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.49 src/sys/dev/acpi/acpi_cpu_cstate.c:1.50
--- src/sys/dev/acpi/acpi_cpu_cstate.c:1.49	Tue Mar  1 05:57:04 2011
+++ src/sys/dev/acpi/acpi_cpu_cstate.c	Fri Mar  4 09:28:34 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.49 2011/03/01 05:57:04 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.50 2011/03/04 09:28:34 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.49 2011/03/01 05:57:04 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.50 2011/03/04 09:28:34 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -407,8 +407,6 @@
 		aprint_error_dev(sc->sc_dev, "failed to add "
 		    "C-state: %s\n", AcpiFormatException(rv));
 
-	i++;
-
 	return rv;
 }
 

Reply via email to