diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-23 18:53:22 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-02-23 18:53:22 +0000 |
commit | f25a9d0f436e7b1263b5ab74a6b5c1ee8b33dfce (patch) | |
tree | 263dc03aa9c4c35ce0c0d232cfab1f2b7c4fbb6c /sys/dev/acpi | |
parent | d232f851a8f724fd810f2c934225fff4889846aa (diff) |
remove dead function.
ok jordan@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpi.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 150c39eb243..5d73b6bf4d0 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.43 2006/02/22 23:53:09 marco Exp $ */ +/* $OpenBSD: acpi.c,v 1.44 2006/02/23 18:53:21 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -57,7 +57,6 @@ void acpi_unmap_pmregs(struct acpi_softc *); int acpi_read_pmreg(struct acpi_softc *, int); void acpi_write_pmreg(struct acpi_softc *, int, int); -void acpi_gpe(struct aml_node *, void *); void acpi_foundhid(struct aml_node *, void *); void acpi_inidev(struct aml_node *, void *); @@ -462,21 +461,6 @@ acpi_write_pmreg(struct acpi_softc *sc, int reg, int regval) } void -acpi_gpe(struct aml_node *node, void *arg) -{ - struct aml_node *child; - struct acpi_softc *sc = arg; - uint32_t flag; - - flag = acpi_read_pmreg(sc, ACPIREG_GPE0_EN); - for (child = node->child; child; child = child->sibling) { - dnprintf(30, "gpe: %s\n", child->name); - } - flag = -1; - flag &= ~(1L << 0x1C); -} - -void acpi_inidev(struct aml_node *node, void *arg) { struct acpi_softc *sc = (struct acpi_softc *)arg; |