Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Remove redundant/wrong increment of a variable.
details: https://anonhg.NetBSD.org/src/rev/b009192f234f
branches: trunk
changeset: 762879:b009192f234f
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Mar 04 09:28:34 2011 +0000
description:
Remove redundant/wrong increment of a variable.
diffstat:
sys/dev/acpi/acpi_cpu_cstate.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r ba46f3680f9d -r b009192f234f sys/dev/acpi/acpi_cpu_cstate.c
--- a/sys/dev/acpi/acpi_cpu_cstate.c Fri Mar 04 09:13:23 2011 +0000
+++ b/sys/dev/acpi/acpi_cpu_cstate.c Fri Mar 04 09:28:34 2011 +0000
@@ -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 <jruohonen%iki.fi@localhost>
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index