From 858f47305dae045d81f39451ade697ba99b3266f Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 18 Oct 2019 18:00:41 +0000 Subject: Import ACPICA 20191018. --- source/compiler/aslload.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'source/compiler/aslload.c') diff --git a/source/compiler/aslload.c b/source/compiler/aslload.c index d918c0cc76ff1..db6c2d41eeeff 100644 --- a/source/compiler/aslload.c +++ b/source/compiler/aslload.c @@ -526,13 +526,12 @@ LdNamespace1Begin ( case AML_INT_CONNECTION_OP: - if (Op->Asl.Child->Asl.AmlOpcode != AML_INT_NAMEPATH_OP) { break; } - Arg = Op->Asl.Child; + Arg = Op->Asl.Child; Status = AcpiNsLookup (WalkState->ScopeInfo, Arg->Asl.ExternalName, ACPI_TYPE_ANY, ACPI_IMODE_EXECUTE, ACPI_NS_SEARCH_PARENT, WalkState, &Node); @@ -541,15 +540,6 @@ LdNamespace1Begin ( break; } - if (Node->Type == ACPI_TYPE_BUFFER) - { - Arg->Asl.Node = Node; - - Arg = Node->Op->Asl.Child; /* Get namepath */ - Arg = Arg->Asl.Next; /* Get actual buffer */ - Arg = Arg->Asl.Child; /* Buffer length */ - Arg = Arg->Asl.Next; /* RAW_DATA buffer */ - } break; default: @@ -576,7 +566,6 @@ LdNamespace1Begin ( * These opcodes are guaranteed to have a parent. * Examine the parent opcode. */ - Status = AE_OK; ParentOp = Op->Asl.Parent; OpInfo = AcpiPsGetOpcodeInfo (ParentOp->Asl.AmlOpcode); -- cgit v1.2.3