Module Name: src
Committed By: joerg
Date: Fri Jan 15 15:42:57 UTC 2016
Modified Files:
src/sys/dev/acpi: wss_acpi.c
Log Message:
Don't skip entries in the table, one increment per iteration is enough.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/acpi/wss_acpi.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/wss_acpi.c
diff -u src/sys/dev/acpi/wss_acpi.c:1.29 src/sys/dev/acpi/wss_acpi.c:1.30
--- src/sys/dev/acpi/wss_acpi.c:1.29 Thu Jun 2 14:12:25 2011
+++ src/sys/dev/acpi/wss_acpi.c Fri Jan 15 15:42:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: wss_acpi.c,v 1.29 2011/06/02 14:12:25 tsutsui Exp $ */
+/* $NetBSD: wss_acpi.c,v 1.30 2016/01/15 15:42:57 joerg Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <[email protected]>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.29 2011/06/02 14:12:25 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss_acpi.c,v 1.30 2016/01/15 15:42:57 joerg Exp $");
#include <sys/param.h>
#include <sys/audioio.h>
@@ -77,7 +77,6 @@ wss_acpi_hints_index(const char *idstr)
for (idx = 0; idx < __arraycount(wss_acpi_hints); idx++) {
if (!strcmp(wss_acpi_hints[idx].idstr, idstr))
return idx;
- ++idx;
}
return -1;