Module Name: src
Committed By: jruoho
Date: Wed Apr 14 17:14:45 UTC 2010
Modified Files:
src/sys/dev/acpi: acpi.c
Log Message:
Remove the #if 0'ed acpi_disable().
To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/dev/acpi/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/acpi.c
diff -u src/sys/dev/acpi/acpi.c:1.169 src/sys/dev/acpi/acpi.c:1.170
--- src/sys/dev/acpi/acpi.c:1.169 Wed Apr 14 17:12:14 2010
+++ src/sys/dev/acpi/acpi.c Wed Apr 14 17:14:45 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.169 2010/04/14 17:12:14 jruoho Exp $ */
+/* $NetBSD: acpi.c,v 1.170 2010/04/14 17:14:45 jruoho Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.169 2010/04/14 17:12:14 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.170 2010/04/14 17:14:45 jruoho Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@@ -596,26 +596,6 @@
return true;
}
-#if 0
-/*
- * acpi_disable:
- *
- * Disable ACPI.
- */
-static ACPI_STATUS
-acpi_disable(struct acpi_softc *sc)
-{
- ACPI_STATUS rv = AE_OK;
-
- if (acpi_active) {
- rv = AcpiDisable();
- if (ACPI_SUCCESS(rv))
- acpi_active = 0;
- }
- return rv;
-}
-#endif
-
/*
* Namespace scan.
*/