aboutsummaryrefslogtreecommitdiff
path: root/events/evxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'events/evxface.c')
-rw-r--r--events/evxface.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/events/evxface.c b/events/evxface.c
index 567eba444770..5019b66315d6 100644
--- a/events/evxface.c
+++ b/events/evxface.c
@@ -747,14 +747,6 @@ AcpiInstallGpeHandler (
Handler->Context = Context;
Handler->MethodNode = GpeEventInfo->Dispatch.MethodNode;
- /* Disable the GPE before installing the handler */
-
- Status = AcpiEvDisableGpe (GpeEventInfo);
- if (ACPI_FAILURE (Status))
- {
- goto UnlockAndExit;
- }
-
/* Install the handler */
Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock);
@@ -845,14 +837,6 @@ AcpiRemoveGpeHandler (
goto UnlockAndExit;
}
- /* Disable the GPE before removing the handler */
-
- Status = AcpiEvDisableGpe (GpeEventInfo);
- if (ACPI_FAILURE (Status))
- {
- goto UnlockAndExit;
- }
-
/* Remove the handler */
Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock);