diff --git a/source/components/namespace/nseval.c b/source/components/namespace/nseval.c index 117cdf830..8c93d06be 100644 --- a/source/components/namespace/nseval.c +++ b/source/components/namespace/nseval.c @@ -500,26 +500,12 @@ NsExecuteControlMethod ( /* TBD: Should we unlock the namespace during control method execution ? */ + /* * Excecute the method via the interpreter */ Status = AmlExecuteMethod (MethodEntry, Params, ReturnObjDesc); - /* - * Cleanup. We must delete everything in the namespace that was created by - * the execution of this method. - */ - - /* TBD: what about called methods? */ - - if (MethodEntry->Scope) - { - CmReleaseMutex (MTX_NAMESPACE); - NsDeleteNamespaceSubtree (MethodEntry); - NsDeleteNamespaceByOwner (ObjDesc->Method.OwningId); - CmAcquireMutex (MTX_NAMESPACE); - } - return_ACPI_STATUS (Status); }