summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-05 16:17:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-05 16:17:56 +0000
commit169801b3f5f1368a9d6cbb75b44320fe3bd7affa (patch)
tree9cde625386016595f693a8eecd54f6ca9680e0ef
parent488bb353e9e758841d2843c8d56750d93c25f686 (diff)
clean up acpi_softc use more
-rw-r--r--sys/dev/acpi/acpi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 42e30f270e0..346bc412024 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.215 2010/10/05 16:14:59 deraadt Exp $ */
+/* $OpenBSD: acpi.c,v 1.216 2010/10/05 16:17:55 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -1312,12 +1312,10 @@ acpi_foundide(struct aml_node *node, void *arg)
void
acpi_reset(void)
{
- struct acpi_fadt *fadt;
u_int32_t reset_as, reset_len;
u_int32_t value;
struct acpi_softc *sc = acpi_softc;
-
- fadt = sc->sc_fadt;
+ struct acpi_fadt *fadt = sc->sc_fadt;
/*
* RESET_REG_SUP is not properly set in some implementations,