summaryrefslogtreecommitdiff
path: root/source/components/namespace/nsutils.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-07-09 17:17:45 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-07-09 17:17:45 +0000
commit3d51590acd9ce6cfcd823e3d4d340f04ff800228 (patch)
treed8c7a85f644b22ff2a5e5c9a56190e6798fb381e /source/components/namespace/nsutils.c
parent08f4234e06d8d6855c0b79c95da98f267ca3554e (diff)
Notes
Diffstat (limited to 'source/components/namespace/nsutils.c')
-rw-r--r--source/components/namespace/nsutils.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/components/namespace/nsutils.c b/source/components/namespace/nsutils.c
index 85732ff8b7bd..581ad5f3fd43 100644
--- a/source/components/namespace/nsutils.c
+++ b/source/components/namespace/nsutils.c
@@ -802,24 +802,11 @@ AcpiNsTerminate (
void)
{
ACPI_STATUS Status;
- ACPI_OPERAND_OBJECT *Prev;
- ACPI_OPERAND_OBJECT *Next;
ACPI_FUNCTION_TRACE (NsTerminate);
- /* Delete any module-level code blocks */
-
- Next = AcpiGbl_ModuleCodeList;
- while (Next)
- {
- Prev = Next;
- Next = Next->Method.Mutex;
- Prev->Method.Mutex = NULL; /* Clear the Mutex (cheated) field */
- AcpiUtRemoveReference (Prev);
- }
-
/*
* Free the entire namespace -- all nodes and all objects
* attached to the nodes