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 an unnecessary call to AcpiGlearGpe().
details: https://anonhg.NetBSD.org/src/rev/e9e275dbfd0a
branches: trunk
changeset: 554714:e9e275dbfd0a
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sat Nov 01 08:27:37 2003 +0000
description:
Remove an unnecessary call to AcpiGlearGpe().
diffstat:
sys/dev/acpi/acpi_ec.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 539a3ff59157 -r e9e275dbfd0a sys/dev/acpi/acpi_ec.c
--- a/sys/dev/acpi/acpi_ec.c Sat Nov 01 08:14:39 2003 +0000
+++ b/sys/dev/acpi/acpi_ec.c Sat Nov 01 08:27:37 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_ec.c,v 1.13 2003/11/01 08:14:39 mycroft Exp $ */
+/* $NetBSD: acpi_ec.c,v 1.14 2003/11/01 08:27:37 mycroft Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -172,7 +172,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.13 2003/11/01 08:14:39 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.14 2003/11/01 08:27:37 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -699,10 +699,6 @@
sc->sc_flags &= ~EC_F_PENDQUERY;
}
- if (AcpiClearGpe(NULL, sc->sc_gpebit, ACPI_NOT_ISR) != AE_OK)
- printf("%s: EcRequest: unable to clear EC GPE\n",
- sc->sc_dev.dv_xname);
-
EcUnlock(sc);
return(Status);
Home |
Main Index |
Thread Index |
Old Index